BIND Nameserver Setup

murphyslaw4267

New Member
Messages
3
Reaction score
0
Points
0
Hi there,
I'm trying to set up my server running CentOS 6.2 to be able to host domains. I have registered a domain with godaddy and registered the hosts for ns1.serverhobbyistdedicated.com and ns2.serverhobbyistdedicated.com
I tried the tutorial on x10's website to set up BIND using webmin but it hasn't worked for me. I am asking for help on how to set up these name servers I registered on my server. I have become quite frustrated I've googled around and haven't had much luck. I would really, really appreciated any help that anyone can provide. Here are my files that I believe are relevant to this sort of thing, bear with me as I am a linux novice (I'm learning though).


resolv.conf
# Generated by NetworkManager
search google.com
nameserver 4.2.2.1
nameserver 8.8.8.8




named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//


options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; };
recursion yes;

dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;

/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
};


zone "serverhobbyistdedicated.com" in {
type master;
file "serverhobbyistdedicated.com";
};

logging {channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};

include "/etc/named.rfc1912.zones";

This is a file a tutorial I found told me to create. It's in /var/named


$TTL 14400
@ 86400 IN SOA ns1.serverhobbyistdedicated.com. admin@serverho$
2008021501 ; serial, todays date+todays
86400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds
serverhobbyistdedicated.com 86400 IN NS ns1.serverhobbyistdedicated.com.
serverhobbyistdedicated.com.com. 86400 IN NS ns2.serverhobbyistdedicated.com.
ns1.serverhobbyistdedicated.com. IN A 108.61.17.178
ns2.serverhobbyistdedicated.com. IN A 108.61.17.179
website.com. IN A 108.61.17.179
localhost.website.com. IN A 127.0.0.1
website.com. IN MX 0 website.com.
mail IN CNAME serverhobbyistdedicated.com.
www IN CNAME serverhobbyistdedicated.com.
ftp IN A 108.61.17.179



Again I would really, really, appreciate anyone's insight.
Thank you!
Murphyslaw
 
Last edited:

Sharky

Community Paragon
Community Support
Messages
4,399
Reaction score
94
Points
48
What was the issue and how did you resolve it?
 
Top