Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Networking
Reload this Page getting DNS info with dig
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Networking Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Reply
 
Thread Tools Display Modes
Old 04-05-2007   #1 (permalink)
Just Joined!
 
Join Date: Mar 2007
Posts: 4
getting DNS info with dig

Hello everyone,
I am a relative novice with linux, and so would appreciate any help from people on thie following issue .

I am trying to find out who are the DNS servers for a set of IP addresses. Usually when I do ">dig $ip" I can see the DIG options, question section, answer section blah blah...

In the Authority section, I think the root servers for the domain being probed are listed. The thing is is for nearly all the IPs I am looking up the Authority section always comes out to be the same, which bothers me..am I doing something wrong..

e.g. I look up dig 63.241.205.173 and I get,
; <<>> DiG 9.3.1 <<>> 63.241.205.173
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 58078
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;63.241.205.173. IN A

;; AUTHORITY SECTION:
. 10342 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2007040500 1800 900 604800 86400

;; Query time: 45 msec
;; SERVER: 138.23.169.10#53(138.23.169.10)
;; WHEN: Thu Apr 5 10:11:53 2007
;; MSG SIZE rcvd: 107

Can I now say that the authoritative DNS server for this ip is a.root-servers.net. nstld.verisign-grs.com ?

For the following set of IPs too I get the same output..which could be OK, but would slightly strange !

Any advice on this would be greatly appreciated.
Thanks folks,
-A
anirvana is offline   Reply With Quote
Old 04-05-2007   #2 (permalink)
Linux Newbie
 
dilbert's Avatar
 
Join Date: Sep 2006
Location: Yorkshire, GB
Posts: 215
There are some master DNS servers that update all other DNS servers worldwide.

A few years ago, at least, there was a daily update. I don't know if this is still the case.

I believe VeriSign is now the company that charges finally for domain names, so if someone doesn't renew his contract with VeriSign, they delete his domain name from the master DNS server and one day later there is worldwide no name resolution anymore.
__________________
Bus Error: Passengers dumped. Hech gap yo'q.
dilbert is offline   Reply With Quote
Old 04-06-2007   #3 (permalink)
Just Joined!
 
Join Date: Mar 2007
Posts: 4
resolved

Thanks for the reply . I found out what the problem was:

Don't try to do a dig with an IP , instead provide the domain name...

I was doing something like dig 192.266.37 ....

now when I do dig www.yahoo.com ...no probs..life is good once again
anirvana is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 08:16 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0