I would like to issue a query to a specific DNS server, whose IP address I know. It doesn’t really matter if it’s on Windows or Linux.
In Windows I can do something like:
But this uses my system’s DNS to query. Instead of this, I would like to query a specific DNS server, to test if it is responding to my queries correctly or responding at all.
So it should be something like:
nslookup –dns-ip=184.108.40.206 google.com
Is this possible with nslookup?
It is simple. Just use following:
nslookup google.com 220.127.116.11
Replace 18.104.22.168 (this is Google DNS) with specific DNS. This should show A record as follow:
C:\>nslookup google.com 22.214.171.124
For more options, just type nslookup in command prompt.