host and dig in terminal

Discussion in 'all things UNIX' started by cet, Aug 20, 2010.

Thread Status:
Not open for further replies.
  1. cet

    cet Registered Member

    Joined:
    Sep 3, 2006
    Posts:
    876
    Location:
    Turkey/İzmir
    I have been trying ''host'' and ''dig'' commands in the terminal but when I try ''dig'' I get an answer like this:
    ; <<>> DiG 9.7.0-P1 <<>> bw-in-f103.1e100.net
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45678
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;bw-in-f103.1e100.net. IN A

    ;; ANSWER SECTION:
    bw-in-f103.1e100.net. 85230 IN A 74.125.43.103

    ;; Query time: 68 msec
    ;; SERVER: 208.67.220.220#53(208.67.220.220)
    ;; WHEN: Fri Aug 20 09:51:24 2010
    ;; MSG SIZE rcvd: 54
    ----------------desktop:~$
    The Authority and the Additional parts are missing.What do I have to do in order to see those sections.I tried with OpenDNS and GoogleDNS and also with different IP numbers but everytime the answer was the same,those two parts missing.
     
  2. cet

    cet Registered Member

    Joined:
    Sep 3, 2006
    Posts:
    876
    Location:
    Turkey/İzmir
    Bump!
     
  3. katio

    katio Guest

    See the "AUTHORITY: 0, ADDITIONAL: 0" There's nothing to be displayed I guess.
    I get similar results, only something like" dig com. NS" for example gives the additional part, and without the NS or "dig myip.opendns.com" I get an authority response.
    Don't know why, first time I've used dig, sorry :D
    Oh this is strange,when I run dig com. again the authority is missing, other domains like net. or org. only work the first time too...
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.