Wed. Jul 17th, 2024

windows NSLOOKUP Troubleshoot DNS

education only

How to Use NSLOOKUP to Troubleshoot DNS Issues

  • nslookup www.google.com

     

    • cmd
      • nslookup google.com
        Server:    srvr.net
        Address: 172.16.224.1Non-authoritative answer:
        Name: google.com
        Addresses: 2607:f8b0:4020:807::200e
        172.217.13.206
    • when you see ip adress — it is good
  • or
  • cmd
    • nslookup
    • Default Server: srvr.net
      Address: 172.16.224.1>>srvr.net
      Server: srvr.net
      Address: 172.16.224.1Name: srvr.net
      Addresses: fd0a:9b09:1f7:200::126
      10.128.128.126> google
      Server: srvr.net
      Address: 172.16.224.1Name: google.

      > google.com
      Server: srvr.net
      Address: 172.16.224.1

      Non-authoritative answer:
      Name: google.com
      Addresses: 2607:f8b0:4020:807::200e
      172.217.13.206

    • > set type=ns
      > google.com
      Server: srvr.net
      Address: 172.16.224.1Non-authoritative answer:
      google.com nameserver = ns1.google.com
      google.com nameserver = ns2.google.com
      google.com nameserver = ns3.google.com
      google.com nameserver = ns4.google.com
      >ls -d srv.net
    • > server 8.8.8.8
      Default Server: dns.google
      Address: 8.8.8.8> www.google.com
      Server: dns.google
      Address: 8.8.8.8google.com
      primary name server = ns1.google.com
      responsible mail addr = dns-admin.google.com
      serial = 649008673
      refresh = 900 (15 mins)
      retry = 900 (15 mins)
      expire = 1800 (30 mins)
      default TTL = 60 (1 min)
      >set type=all
    • ?    – more information or help
    • exit