User Tools

Site Tools


dns:nslookup

This is an old revision of the document!


DNS NSLookup

This is a Windows tool.

To lookup TXT Records

nslookup -q=TXT tester.jbstafford.co.uk
nslookup -type=TXT tester.jbstafford.co.uk

Different Server

Query a different DNS server than the one specified in Windows

nslookup www.google.com 1.1.1.1

Different Port

In theory, you can use “set port=5353” to tell nslookup to query port 5353 instead of port 53. However, this documented feature is broken in Windows and doesn't work. Use dig instead.

TTL

To find the TTL of a DNS record, use

nslookup -debug www.example.com

You will see TTL in there and possibly Default TTL

dns/nslookup.1667386361.txt.gz · Last modified: (external edit)