Skip to content

Instantly share code, notes, and snippets.

@x5lcfd
Created December 29, 2017 14:52
Show Gist options
  • Select an option

  • Save x5lcfd/0566aa2bff7ccbd03a56c294bb0ad3da to your computer and use it in GitHub Desktop.

Select an option

Save x5lcfd/0566aa2bff7ccbd03a56c294bb0ad3da to your computer and use it in GitHub Desktop.

// url => https://superuser.com/questions/723612/ping-and-nslookup-work-browsing-doesnt/723617

I believe that nslookup opens a winsock connection on the DNS port and issues a query, whereas ping uses the DNS Client service. You could try and stop this service and see whether this makes a difference.

Some commands that will reinitialize various network states :

Reset WINSOCK entries to installation defaults : netsh winsock reset catalog
Reset TCP/IP stack to installation defaults : netsh int ip reset reset.log
Flush DNS resolver cache : ipconfig /flushdns
Renew DNS client registration and refresh DHCP leases : ipconfig /registerdns
Flush routing table : route /f (reboot required)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment