Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 05-17-2009, 09:14 AM   #1
LQ Newbie
Registered: May 2009
Posts: 11

Rep: Reputation: 0
Unhappy No Answer with DIG

I setup a DNS and tried to dig it but the reply is
Query:1 Answer:0 Status:Servfail
whats this Servfail? I even looked at the logs and found no error. Even when i checked my /etc/named.conf and /var/named/for, /var/named/rev file using
#named-checkconf /etc/named.conf
#named-checkzone /var/named/for and /var/named/rev
I found that they were correct. But i am unable to dig my nameserver using
#dig -x
#host -al

What could be the problem? Humble suggestions required.
Old 05-18-2009, 02:28 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,479

Rep: Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481
First of all check /etc/resolv.conf and make sure that your nameserver is the first in the list ,or use "dig" to use your dns for your queries.
Without config files it's difficult to try to find, what the problem is.
Note also that the following dig output (nxdomain):
dig -x

; <<>> DiG 9.6.1b1 <<>> -x
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 62017
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0


;; AUTHORITY SECTION: 8899 IN SOA 1108639242 10800 3600 604800 38400
means that most likely you're not authoritative to the reverse zone, unless you own You must ask your ISP to delegate you the zone for the subnet you own.
Old 05-18-2009, 07:58 AM   #3
LQ Newbie
Registered: May 2009
Posts: 11

Original Poster
Rep: Reputation: 0

Ok thanx i got the answer. Its the ISP who is being digged.
Thanx for the suggestion.


dig, dns

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
dig @ works, dig doesn't eelgueta Linux - Networking 6 07-09-2007 06:45 PM
dig drumltd Linux - Networking 5 11-05-2006 08:19 AM
About dig command and others satimis Linux - Networking 2 09-25-2006 01:43 AM
Where can I get dig/host from? MadCactus Linux - Networking 2 07-03-2004 09:56 AM
dig andox Linux - Security 1 07-05-2003 08:47 AM

All times are GMT -5. The time now is 11:47 AM.

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