Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am attempting to use my server to be a DNS server. I am having trouble getting the domain setup. Here is what I have so far:

/var/lib/named/master/andydaykin.com: $TTL 2d @ IN SOA andydaykin.com. root.andydaykin.com. ( 2011011000 ; serial 0 ; refresh 0 ; retry 0 ; expiry 0 ) ; minimum

andydaykin.com. IN NS ns1.andydaykin.com. andydaykin.com. IN SOA ns1.andydaykin.com. hostmaster.andydaykin.com. ( @.andydaykin.com. IN NS ns1.andydaykin.com. ns1.andydaykin.com. IN A www.andydaykin.com. IN A

/etc/resolve.conf: search andydaykin.com nameserver

/etc/named.conf: options { # The directory statement defines the name server's working directory directory "/var/lib/named";

    dump-file "/var/log/named_dump.db";
    statistics-file "/var/log/named.stats";

    listen-on port 53 {; };

    listen-on-v6 { any; };

    notify no;

    disable-empty-zone "";
    include "/etc/named.d/forwarders.conf";


zone "." in { type hint; file "root.hint"; };

zone "localhost" in { type master; file "localhost.zone"; };

zone "0.0.127.in-addr.arpa" in { type master; file "127.0.0.zone"; };

Include the meta include file generated by createNamedConfInclude. This

includes all files as configured in NAMED_CONF_INCLUDE_FILES from


include "/etc/named.conf.include"; zone "andydaykin.com" in { file "master/andydaykin.com"; type master; allow-transfer { any; }; }; logging { category default { log_syslog; }; channel log_syslog { syslog; }; };

What I am doing wrong?

share|improve this question

1 Answer 1

I notice that you have '/etc/resolve.conf' - this is normally '/etc/resolv.conf'

  • What happens to make you conclude that you are doing something wrong?
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.