nslookup

From KlavoWiki
Revision as of 00:52, 24 March 2022 by David (Sọ̀rọ̀ | contribs) (Created page with "= Command = <pre>nslookup <options> <domain> <name server></pre> = Options = <pre> -domain=[domain-name] Change the default DNS name. -debug Show debugging information. -port=[port-number] Specify the port for queries. The default port number is 53. -timeout=[seconds] Specify the time allowed for the server to respond. -type=a View information about the DNS A address records. -type=any View all available records. -type=hinfo View hardware-related information about the h...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Command

nslookup <options> <domain> <name server>

Options

-domain=[domain-name]	Change the default DNS name.
-debug	Show debugging information.
-port=[port-number]	Specify the port for queries. The default port number is 53.
-timeout=[seconds]	Specify the time allowed for the server to respond.
-type=a	View information about the DNS A address records.
-type=any	View all available records.
-type=hinfo	View hardware-related information about the host.
-type=mx	View Mail Exchange server information.
-type=ns	View Name Server records.
-type=ptr	View Pointer records. Used in reverse DNS lookups.
-type=soa	View Start of Authority records.

Examples

nslookup asx.com.au
nslookup news.com.au 8.8.8.8
nslookup -type=mx klaverstyn.com.au 8.8.8.8
nslookup -type=txt internode.on.net
nslookup -debug -type=any internode.on.net 1.1.1.1
nslookup -debug news.com.au 8.8.4.4
nslookup -domain=com.au news 8.8.4.4