Contents
- INDEX
- Unix Networking Index
- HP-UX
- Solaris
- Linux Index
- General Unix
- Other Unix types
- Unix Scripts
- Unix databases
Associated Information
- none
Useful Links
- UGU Networking Resorces
|
nslookup
- nslookup
- set type=any
- can now query domains e.g. sch.uk
- server servername e.g. server ns0.ja.net can then query the server
- 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
- Enter nslookup
- > 10.10.194.45 - if this resolves you will get
the fully qualified name
- > set domain=domainname
- > set debug
- > 10.10.194.45 - gives authoritive records and
name servers e.g
10.IN-ADDR.ARPA
nameserver=nameserver.bobblehat.com
- > nameserver - gives IP address of
nameserver
- > server IP_address_of_nameserver
- > ls -d 10.IN-ADDR.ARPA - shows contents of
database
- > exit
|