LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-01-2012, 02:38 PM   #1
mojorisin
LQ Newbie
 
Registered: Aug 2012
Posts: 6

Rep: Reputation: Disabled
dig doesn't resolve host instead showing IP address


Hello,

I'm running DiG 9.7.6-P1 and I was trying to analyze the DNS lookup via dig. When I enter the following command
Code:
$ dig +trace +additional -t A www.heise.de
I'm receiving something like this
Code:
de.			172800	IN	NS	a.nic.de.
de.			172800	IN	NS	f.nic.de.
de.			172800	IN	NS	s.de.net.
de.			172800	IN	NS	z.nic.de.
de.			172800	IN	NS	n.de.net.
de.			172800	IN	NS	l.de.net.
;; Received 344 bytes from 192.36.148.17#53(192.36.148.17) in 379 ms
My second linux machine is giving me the following output:

Code:
 de.			172800	IN	NS	a.nic.de.
 de.			172800	IN	NS	n.de.net.
 de.			172800	IN	NS	f.nic.de.
 de.			172800	IN	NS	z.nic.de.
 de.			172800	IN	NS	l.de.net.
 de.			172800	IN	NS	s.de.net.
 ;; Received 344 bytes from 192.58.128.30#53(j.root-servers.net) in 32 ms
As you can see, the last line is different. I'm trying to get my first machine also showing the host name of the responding DNS-Server instead of the IP-address. Any ideas where the problem is?

Last edited by mojorisin; 11-01-2012 at 02:41 PM.
 
Old 11-02-2012, 08:48 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,910

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
Hi,

I guess this is due to different dig versions. I see the same behavior (resolving the respong dns IP) for bind-9.7.3, but not for the more recent bind-9.9.2 and 9.8.4.
Tried to find in the CHANGES file when that happened, but didn't succeed.

Regards
 
  


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
neither dig nor host list my DNS address or Hoste Name coryjsanders Linux - Newbie 6 05-03-2010 04:04 AM
Regarding error unable to resolve host address while using wget jayamurugan Linux - Newbie 2 01-15-2009 08:22 AM
Bind Occasionally Doesn't Resolve an Address MQMan Linux - Networking 6 10-21-2008 02:34 PM
DDNS in router does not renew IP address; host and dig report incorrect IP Bruce Hill Linux - Networking 9 10-19-2006 03:10 PM


All times are GMT -5. The time now is 09:38 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