Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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 I doing something wrong..

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

    ; IN A

    . 10342 IN SOA 2007040500 1800 900 604800 86400

    ;; Query time: 45 msec
    ;; SERVER:
    ;; 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 ?

    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,

  2. #2
    Linux Newbie dilbert's Avatar
    Join Date
    Sep 2006
    Lima, Peru
    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.

  3. #3


    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 is good once again

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts