LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2010, 12:36 AM   #1
Imranteli
LQ Newbie
 
Registered: Jun 2009
Posts: 10

Rep: Reputation: 0
DNS Issue [unexpected rcode (SERVFAIL)]


From last few days i am getting some log messages in /var/log/messages.

The log is ....

unexpected rcode (SERVFAIL) from master 192.168.110.8#53


I am not sure what is it.
Please help me out.
 
Old 01-28-2010, 01:03 AM   #2
phlyer
Member
 
Registered: Jan 2010
Distribution: CentOS, Vector Linux, Scientific Linux, Rocks
Posts: 36

Rep: Reputation: 17
is that BIND9 or good old named?

and it happens on client invocation?

Last edited by phlyer; 01-28-2010 at 01:11 AM. Reason: typo
 
Old 01-28-2010, 01:06 AM   #3
phlyer
Member
 
Registered: Jan 2010
Distribution: CentOS, Vector Linux, Scientific Linux, Rocks
Posts: 36

Rep: Reputation: 17
if BIND9 is it visible from the Net?

you support IPv6?
 
Old 01-28-2010, 02:51 AM   #4
Imranteli
LQ Newbie
 
Registered: Jun 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for replying phlyer

Its BIND 9.2.4.
it is not visible from net.
We dont support ipv6 can disable it if required.

Thanks.
 
Old 01-28-2010, 03:01 AM   #5
phlyer
Member
 
Registered: Jan 2010
Distribution: CentOS, Vector Linux, Scientific Linux, Rocks
Posts: 36

Rep: Reputation: 17
Quote:
Originally Posted by Imranteli View Post
We dont support ipv6 can disable it if required.
means: you have no
Code:
listen-on-v6 port 53	{ ::1; };
in your /etc/named.conf I assume.

You have any reverse lookup message in /var/log/messages before this error message is logged?

any allow-update in named.conf?

what is your access policy (localhost, localnets)?

Last edited by phlyer; 01-28-2010 at 03:03 AM. Reason: finger trouble
 
Old 01-28-2010, 03:32 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,516

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
If you are responsible for the master dns at 192.168.110.8, then you should check the configuration and the zone files that your master dns is authoritative for. named-checkconf and named-checkzone should help you.
Or contact the person that is responsible for it to checks

Regards
 
Old 01-28-2010, 03:43 AM   #7
Imranteli
LQ Newbie
 
Registered: Jun 2009
Posts: 10

Original Poster
Rep: Reputation: 0
No
listen-on-v6 port 53 { ::1; };
is not there in /etc/named.conf.

Previously i use to get log msgs of [lame server resolving] and also [unexpected rcode (SERVFAIL) from master].
So i made following entry in /etc/named.conf to avoid the messages

logging {
category notify { null; };
category lame-servers { null; };
};

I dont receive lame server logs now but [unexpected rcode (SERVFAIL) from master] logs r still there.

Access policy is localhost.

Thanks & Regards,
Imran
 
Old 01-28-2010, 04:13 AM   #8
phlyer
Member
 
Registered: Jan 2010
Distribution: CentOS, Vector Linux, Scientific Linux, Rocks
Posts: 36

Rep: Reputation: 17
right, so if your freezer ain't working, indicated by a red light, you smash the light.
You don't fix the freezer?

As the Guru points out, it is probably some zone file issue. And the logging would tell you the whereabouts.

what is the output from:
Code:
named-checkzone -i full your.domain /var/named/your.domain.rev
well, you gotta substitute "your.domain" w/ your proper domain name

Last edited by phlyer; 01-28-2010 at 04:17 AM.
 
Old 01-29-2010, 03:04 AM   #9
Imranteli
LQ Newbie
 
Registered: Jun 2009
Posts: 10

Original Poster
Rep: Reputation: 0
I verified it with named-checkzone command i found there was no ns entry in zone file (ozi.111.rev).
I did the correction and now i dont get any such messages in logs.
It really worked.
Thanks a lot for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unexpected RCODE message Md.Abul Quashem Linux - Networking 2 08-23-2009 12:15 AM
DNS Server answers SERVFAIL vikki Linux - Server 9 08-13-2009 04:38 AM
BIND - Unexpected RCODE (SERVFAIL/REFUSED) errors beerfest Linux - Server 4 05-02-2008 02:26 PM
Dns not working (servfail) Deepak Gusain Red Hat 2 12-11-2007 04:52 AM
DNS Log Errors: unexpected RCODE (REFUSED) mr.wobble Linux - Software 1 02-11-2006 11:17 PM


All times are GMT -5. The time now is 12:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration