Tayyip EserIT KNOWLEDGE HUB
TRin
Back to archive

Note · Aug 25, 2026

Clearing DNS cache and querying the correct record

Clearing stale DNS data and verifying the current record against a chosen resolver.

DNSWindowsTroubleshooting

Short answer Clear stale client DNS data, query the record again and confirm which resolver answered.

?

When to use it

After a DNS change or when browsers and nslookup return different results.

01

Clear client cache

ipconfig /flushdns
ipconfig /registerdns
Note

The second command requests domain DNS registration.

02

Query a specific resolver

Resolve-DnsName example.com -Type A
nslookup example.com <DNS_SERVER_IP>
Note

Compare the returned address with the expected IP.

!

Caution

A server-side DNS problem cannot be fixed by clearing only the client cache.