Windows – Blocking nslookup on A record

domain-name-systemwindows

Need to know which port to be blocked in my local machine so that the nslookup on A record doesnot work?
To know the above i need to understand how the lookup on A record how does the request go from the local machine (port) to the nameservers/ rootservers?

For example:
C:> nslookup -type=a google.com

Server: MyDslModem.local.lan
Address: 192.168.1.1

Non-authoritative answer:
Name: google.com
Address: 209.85.231.104

Here which from which local port from the local machine does the lookup starts from?

Best Answer

You'll get a better answer if you tell us why you'd want to do this.

DNS traffic uses UDP port 53, but if you want to block that, why not just remove the DNS server configuration from your network adapter?