How to Troubleshoot DNS Server Issues on Windows

In this post you can learn how to check Primary and Secondary DNS IP addresses and troubleshooting steps on Windows Machines. After Primary and Secondary DNS addresses configuration on IPv4 settings, it’s very important to check that the DNS entries resolving properly or not. Follow the below step by step procedure.

Check DNS Server IP addresses:

C:>ipconfig/all

        Connection-specific DNS Suffix  . :

Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-11
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 14.96.22.235
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 14.96.22.235
DNS Servers . . . . . . . . . . . : 4.2.2.2
121.242.190.180

NetBIOS over Tcpip. . . . . . . . : Disabled

Start nslookup for the desired DNS Server:

C:> nslookup
> server 4.2.2.2

Default Server:  vnsc-bak.sys.gtei.net
Address:  4.2.2.2
Resolve any domain with DNS  server:

> google.com
Server:  vnsc-bak.sys.gtei.net
Address:  4.2.2.2

Non-authoritative answer:
Name:    google.com
Addresses:  209.85.175.147, 209.85.175.99, 209.85.175.103, 209.85.175.104,209.85.175.105, 209.85.175.106

Check Start of Authority (SOA):

> set q=SOA
> google.com
Server:  [4.2.2.2]
Address:  4.2.2.2

Non-authoritative answer:

google.com
primary name server = ns1.google.com
responsible mail addr = dns-admin.google.com
serial  = 2011120801
refresh = 7200 (2 hours)
retry   = 1800 (30 mins)
expire  = 1209600 (14 days)
default TTL = 300 (5 mins)

>

Check the Nameservers (NS):

> set q=NS
> google.com

Server:  [4.2.2.2]
Address:  4.2.2.2

Non-authoritative answer:
google.com      nameserver = ns2.google.com
google.com      nameserver = ns1.google.com
google.com      nameserver = ns3.google.com
google.com      nameserver = ns4.google.com

>

Check E-Mail MX-Records (MX):

> set q=MX
> google.com

Server:  [4.2.2.2]
Address:  4.2.2.2

Non-authoritative answer:

google.com      MX preference = 50, mail exchanger = alt4.aspmx.l.google.com
google.com      MX preference = 10, mail exchanger = aspmx.l.google.com
google.com      MX preference = 20, mail exchanger = alt1.aspmx.l.google.com
google.com      MX preference = 30, mail exchanger = alt2.aspmx.l.google.com
google.com      MX preference = 40, mail exchanger = alt3.aspmx.l.google.com

>

For Checking everything:

> set q=any
> google.com

Server:  [4.2.2.2]
Address:  4.2.2.2

Non-authoritative answer:

google.com      text =

“v=spf1 include:_netblocks.google.com ip4:216.73.93.70/31 ip4:216.73.93.
72/31 ~all”
google.com      MX preference = 40, mail exchanger = alt3.aspmx.l.google.com
google.com      MX preference = 50, mail exchanger = alt4.aspmx.l.google.com
google.com      MX preference = 10, mail exchanger = aspmx.l.google.com
google.com      MX preference = 20, mail exchanger = alt1.aspmx.l.google.com
google.com      MX preference = 30, mail exchanger = alt2.aspmx.l.google.com
google.com      internet address = 209.85.175.106
google.com      internet address = 209.85.175.147
google.com      internet address = 209.85.175.99
google.com      internet address = 209.85.175.103
google.com      internet address = 209.85.175.104
google.com      internet address = 209.85.175.105
google.com      nameserver = ns2.google.com
google.com      nameserver = ns1.google.com
google.com      nameserver = ns4.google.com
google.com      nameserver = ns3.google.com

>

Lookup all hosts within a domain

> ls -d google.com

 

Filed Under: Windows

Tags:

About the Author:

RSSComments (2)

Leave a Reply | Trackback URL

  1. Slance says:

    I think you wrote a great book. I hope it brings you tons of success because it was deftly written.

  2. Bedi says:

    Magnificent web site. Plenty of useful info here to troubleshoot DNS server issues in Windows. I am sending it to several pals ans also sharing in delicious. And of course, thanks on your sweat!

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.