LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-17-2009, 09:14 AM   #1
amplifire
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
and
#named-checkzone mydomain.com /var/named/for and /var/named/rev
and
#dnsdomainname
I found that they were correct. But i am unable to dig my nameserver using
#dig -x 202.78.173.26
or
#dig ns1.mydomain.com
or
#host -al 202.78.173.26

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

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
First of all check /etc/resolv.conf and make sure that your nameserver is the first in the list ,or use "dig mydomain.com @ns1.mydomain.com" 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):
Quote:
dig -x 202.78.173.26

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

;; QUESTION SECTION:
;26.173.78.202.in-addr.arpa. IN PTR

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

Original Poster
Rep: Reputation: 0
Smile

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


Reply

Tags
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 10:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration