nslookup
General use:
- nslookup
- set type=any
- can now query domains e.g. sch.uk
- server servername server ns0.ja.net - can then query the server servername
- ls -t ns domainname e.g. ls -t ns sch.uk - lists all the domains under the domain entered
- ls -d domainname gives an alternative listing
Using nslookup to investigate too many hops problems
- Check mail exchanger for sender
- enter nslookup
- set type=any
- enter domainname which will give you the mail exchanger
- enter traceroute mail_exchange to show route it takes
Can also do nslookup -querytype=mx name to check it exists
Finding the Authoritive NameServer for an IP Address
For this example we want to find the master server for 10.10.194.45
1. Enter nslookup 2. > 10.10.194.45 - if this resolves you will get the fully qualified name 3. > set domain=//domainname// 4. > set debug </b></font> 5. > 10.10.194.45 - gives authoritive records and name servers e.g
10.IN-ADDR.ARPA
nameserver=nameserver.bobblehat.com
6. > //nameserver// - gives IP address of nameserver
7. > server //IP_address_of_nameserver//
8. > ls -d 10.IN-ADDR.ARPA - shows contents of database
9. > exit </b></font>
Still stuck? Maybe we can help. Contact us at Upwork
Never miss a thing subscribe to our newsletter
or follow us on twitter
For more super cool techie stuff check out our blog!!
Recent Changes
Contribute to this wiki
Why not help others by sharing your knowledge? Contribute something to this wiki and
join out hall of fame!
Contact us for a user name and password