stackia / DNSAgent

A powerful "hosts" replacement.
MIT License
614 stars 88 forks source link

If running DNSAgent as a cache, should we disable Windows DNS Client service? #27

Open CMCDragonkai opened 7 years ago

CMCDragonkai commented 7 years ago

Refer to http://support.simpledns.com/kb/a61/disabling-the-windows-dns-client-service.aspx

Also if we do use DNSAgent as a cache, is there a command to flush the cache?

gmasucci commented 7 years ago

Sorry for the late reply: You can press Ctrl + R to reload all configurations and clear the cache without restarting DNSAgent

CMCDragonkai commented 7 years ago

@gmasucci

Thanks for answering, but I have 3 questions here:

  1. Should Windows DNS Client service be disabled?
  2. Where do you press Ctrl + R? My DNSAgent is running as a Windows service, courtesy of https://chocolatey.org/packages/dnsagent
CMCDragonkai commented 7 years ago

Since it's running as a service, I assume that Restart-Service DNSAgent should do the trick as well right?

twobob commented 7 years ago

net stop DNSagent && net start DNSagent