I have a DNS server running on CentOS 5, and it works fine for all my .com and .net domain names. When I try to set up a new zone for my .us domain name, it won’t resolve. Every time I try to do a nslookup for that domain, it returns the following:
# nslookup example.us
Server: 127.0.0.1
Address: 127.0.0.1#53
** server can’t find example.us: SERVFAIL
I changed the domain name to post here, obviously. The zone file is an exact duplicate from one of my .com domains, but I changed the first line that identifies the root domain from the example.com. to example.us. Here is my .zone file:
$ttl 38400
example.us. IN SOA dns1.myworkingdomain.net. dns2.myworkingdomain.net. (
2007020400;
10800;
3600;
604800;
86400 )
@ IN NS dns1.myworkingdomain.net.
@ IN NS dns2.myworkingdomain.net.
@ IN MX 10 aspmx.l.google.com.
@ IN MX 20 alt1.aspmx.l.google.com.
@ IN MX 20 alt2.aspmx.l.google.com.
@ IN MX 30 aspmx2.googlemail.com.
@ IN MX 30 aspmx3.googlemail.com.
@ IN MX 30 aspmx4.googlemail.com.
@ IN MX 30 aspmx5.googlemail.com.
@ IN A 10.0.0.1
www IN CNAME @
googleffffffffffffffff IN CNAME google.com.
Bind starts without incident, no errors in the log or anything, but it never resolves. I am trying to do this to configure google apps with my new domain as a secondary domain. Any ideas?
The domain name is declared in my file. It is the first word in the second line. example.us.
I copied the file from my other domain, which is working perfectly. The only thing I changed is the reference to the domain on the second line from the accurately working domain to the new one. I also added this to the end of my named.conf file:
zone “example.us” IN {
type master;
file “data/example.us.zone”;
allow-update { none; };
allow-transfer { none; };
};
Which is just copied from one of the other domains and again, changed for the new domain.
I thought maybe it was the main hint file, named.root, but I downloaded the latest one from ftp.internic.net and restarted bind without any success. I have 12 other domains configured that work properly all using the same format, so I am pretty sure it’s not a file formatting issue. I just can’t figure out why the .us domain isn’t acting the same way as the .com and .net domains.












