Operating System - Linux
1826496 Members
2902 Online
109692 Solutions
New Discussion

Local DNS issues SERVFAIL for one domain all others work.

 
Vernon Brown_4
Trusted Contributor

Local DNS issues SERVFAIL for one domain all others work.

I'm running named on a Fedora Core 5 HP Pivilion for speedy DNS on my LAN. The LAN is connected to the Internet through a Linksys router. It is working great for all but one of my local domains. I've been working with that one for several days now and I'm pretty sure the named.conf and the zone file entries are correct. I suspect the problem might be in the DNS cache.

Any suggestions on how I can find out if the problem is coming from the DNS cache?


[code]
Zone file in /etc/named

$TTL 86400
stkusers.com. IN SOA stkusers.com. veb.cabot-biz.com. (
20031208 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
IN NS cabot-biz.com.
stkusers.com. IN MX 10 cabot-biz.com.
stkusers.com. IN A 66.112.33.128
*.stkusers.com. IN CNAME stkusers.com.



And in the file /etc/named.conf:

zone "stkusers.com" IN {
type master;
file "stkusers.zone";
allow-update { none; };
};
[/code]
5 REPLIES 5
Ivan Krastev
Honored Contributor

Re: Local DNS issues SERVFAIL for one domain all others work.

Use "rndc dumpdb" to see dns cache. For specific options (zone dump) see man page. Default dump all zones in /var/cache/bind.


regards,
ivan
Vernon Brown_4
Trusted Contributor

Re: Local DNS issues SERVFAIL for one domain all others work.

Thanks for your response !!

Interesting; the command returns nothing and there is no /var/cache/bind
/var/cache is there but no bind there.
The box is running Fedora Core 5.
Ivan Krastev
Honored Contributor

Re: Local DNS issues SERVFAIL for one domain all others work.

From change log for caching-nameserver-7.3-5.FC5 RPM :

- change default locations of dumpdb & stats file to /var/named/data


regards,
ivan
Vernon Brown_4
Trusted Contributor

Re: Local DNS issues SERVFAIL for one domain all others work.

Ok found the dumped data. Thanks !!

I'll scrub it for clues.
Vernon Brown_4
Trusted Contributor

Re: Local DNS issues SERVFAIL for one domain all others work.

Ivan Thanks; found the problem; the zone file was owned by root and grouped with root. Changed group to named and restarted named.

Call me El Stupido !