LJ Archive

Listing 2. Output with nslookup

nslookup
Default Server:  server.randomisp.com
Address:  172.16.53.130
> set all

Default Server:  server.randomisp.com
Address:  172.16.53.130

Set options:
  nodebug defname search recurse
  nod2 novc noignoretc port=53
  querytype=A class=IN timeout=10 retry=2
  root=a.root-servers.net.
  domain=randomisp.com
  srchlist=randomisp.com

> set type=mx
> server srvns.new-host.com
Default Server:  srvns.new-host.com
Address: 192.168.200.145
> yourcompany.com
Server:  webns.new-host.com
Address:  192.168.200.144
yourcompany.com preference = 10, mail exchanger =<
   mail.new-host.com
yourcompany.com nameserver = srvns.new-host.com
yourcompany.com nameserver = webns.new-host.com
mail.new-host.com internet address = 192.168.200.72
srvns.new-host.com internet address = 192.168.200.145
webns.new-host.com internet address = 192.168.200.144
> exit
LJ Archive