Forum Discussion
Windows 2012 r2 with multiple NICs, block specific DNS queries sending out from particular nic.
Hi Dave,
Thanks for your response.
The purpose from NIC which is connected closed network keep sending standard DNS queries (i.e., Google & windows update queries).
Basically, just want to know if there is any way stop sending these queries.
Regards,
Rahul
The simplest method would be to add entries into your \windows\system32\drivers\etc\hosts file, something like;
127.0.0.1 www.bad-web-site.example.com
127.0.0.1 www.another-site.example.net
- Rahul Goud MaraganiAug 17, 2018Copper ContributorThanks for quick response.
Added the entries into the host file, but no luck. I could still see DNS queries sending out the NIC- Dave PatrickAug 17, 2018MVP
The hosts file method was to block a local user from browser access to listed sites. You may be able to discover the source process using message analyzer then block the process inbound or outbound traffic at firewall.
https://docs.microsoft.com/en-us/message-analyzer/microsoft-message-analyzer-operating-guide