FG

How can I direct a query to specific DNS server?

Fresh3 days ago
Mar 15, 2026987580 views
Confidence Score1%
1%

Problem

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 *nix. In Windows I can do something like: But this uses the local machine's DNS settings. Instead, 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:

Error Output

C:\Documents and Settings\Anton Daneyko>nslookup superuser.com
Server:  DNSs2.Uni-Marburg.DE
Address:  137.248.21.22

Non-authoritative answer:
Name:    superuser.com
Address:  64.34.119.12

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I direct a query to specific DNS server?

Low Risk

For basic A and CNAME records, you can simply do or if you just type nslookup without any parameters, you can do a lot more options...

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment