Forum Discussion
Rahul Goud Maragani
Aug 16, 2018Copper Contributor
Windows 2012 r2 with multiple NICs, block specific DNS queries sending out from particular nic.
Hello, I have an Application server running on windows 2012 r2 with multiple NICs. Each NIC has its own primary & secondary DNS servers assigned to the interface. But from one nic I see a lot of unw...
Dave Patrick
Aug 17, 2018MVP
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 Maragani
Aug 17, 2018Copper Contributor
Thanks for quick response.
Added the entries into the host file, but no luck. I could still see DNS queries sending out the NIC
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