dns.rst
changeset 2204 fa97eaac3276
parent 1912 8b81a8f0f692
child 2445 b996f619baaf
equal deleted inserted replaced
2203:c9cc487f54a3 2204:fa97eaac3276
    44   $ nslookup -type=a defun.work 8.8.8.8
    44   $ nslookup -type=a defun.work 8.8.8.8
    45 
    45 
    46   $ dig @8.8.8.8 A defun.work
    46   $ dig @8.8.8.8 A defun.work
    47   $ dig +nocmd +noall +answer defun.work
    47   $ dig +nocmd +noall +answer defun.work
    48 
    48 
    49 Host name from IP.
    49 Host name from IP
    50 ==================
    50 =================
    51 
    51 
    52 If that information available::
    52 If that information available::
    53 
    53 
    54   $ nslookup -type=ptr 8.8.8.8
    54   $ nslookup -type=ptr 8.8.8.8
       
    55   $ dig @8.8.8.8 -x 8.8.4.4
    55 
    56 
       
    57   $ dig +noall +answer @8.8.8.8 PTR 4.4.8.8.in-addr.arpa
       
    58   4.4.8.8.in-addr.arpa.   21599   IN      PTR     google-public-dns-b.google.com.
       
    59 
       
    60   $ host 8.8.4.4
       
    61   4.4.8.8.in-addr.arpa domain name pointer google-public-dns-b.google.com.
    56 
    62 
    57 List authoritative NS for domain.
    63 List authoritative NS for domain.
    58 =================================
    64 =================================
    59 ::
    65 ::
    60 
    66