1. Assume the dnsserver is "dnsserver2008" , domain is "myrootdns2008.com" and host name which is to be blocked from querying is "dnsclient.myrootdns2008.com"
2. Now run the command below
dnscmd dnsserver2008 /config /GlobalQueryBlockList "dnsclient.myrootdns2008.com"
3. To reset query block (remove all block listed hosts), run
dnscmd dnsserver2008 /config /GlobalQueryBlockList
4. To find block listed host names, run
dnscmd dnsserver2008 /info /globalqueryblocklist
No comments:
Post a Comment