$ nslookup sony.jp
Server: 192.168.0.1
Address: 192.168.0.1#53
Non-authoritative answer:
Name: sony.jp
Address: 72.246.56.107
Name: sony.jp
Address: 72.246.56.128
$ nslookup -type=NS cam.ac.uk
Server: 192.168.0.1
Address: 192.168.0.1#53
Non-authoritative answer:
cam.ac.uk nameserver = authdns0.csx.cam.ac.uk.
cam.ac.uk nameserver = ns2.ic.ac.uk.
cam.ac.uk nameserver = dns0.cl.cam.ac.uk.
cam.ac.uk nameserver = authdns1.csx.cam.ac.uk.
cam.ac.uk nameserver = dns0.eng.cam.ac.uk.
cam.ac.uk nameserver = dns1.cl.cam.ac.uk.
Authoritative answers can be found from:
ns2.ic.ac.uk internet address = 155.198.142.82
$ nslookup yahoo.com ns2.ic.ac.uk
Server: ns2.ic.ac.uk
Address: 155.198.142.82#53
** server can't find yahoo.com.domain.name: REFUSED
Server refused, maybe because it's configured to only resolve names for its external network (uncommon).
-
UDP
-
both 53
-
8.8.8.8, 4.2.2.2
-
A-type
-
3 IPs that resolves the name.
-
Yeas, to one of the entries.
-
No. It's cached.
-
-
8.8.8.8
-
A-type
-
3 IPs that resolves the name.
-
128.238.29.22
-
NS
-
18.72.0.3
-
A
-
type, class, name, TTL (time to live)
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
nd6 options=1<PERFORMNUD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 78:31:c1:ce:00:4c
inet6 fe80::7a31:c1ff:fece:4c%en0 prefixlen 64 scopeid 0x4
inet 192.168.0.198 netmask 0xffffff00 broadcast 192.168.0.255
nd6 options=1<PERFORMNUD>
media: autoselect
status: active
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
ether 0a:31:c1:ce:00:4c
media: autoselect
status: inactive
awdl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1452
ether b2:93:13:77:a8:4b
inet6 fe80::b093:13ff:fe77:a84b%awdl0 prefixlen 64 scopeid 0x6
nd6 options=1<PERFORMNUD>
media: autoselect
status: active
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
options=60<TSO4,TSO6>
ether 72:00:03:07:ba:50
media: autoselect <full-duplex>
status: inactive
en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
options=60<TSO4,TSO6>
ether 72:00:03:07:ba:51
media: autoselect <full-duplex>
status: inactive
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=63<RXCSUM,TXCSUM,TSO4,TSO6>
ether 7a:31:c1:ec:4c:00
Configuration:
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
ipfilter disabled flags 0x2
member: en1 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 7 priority 0 path cost 0
member: en2 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 8 priority 0 path cost 0
nd6 options=1<PERFORMNUD>
media: <unknown type>
status: inactive
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
inet6 fe80::8dcc:588e:7613:9d9f%utun0 prefixlen 64 scopeid 0xa
inet6 fdfa:5ab7:76d3:7804:8dcc:588e:7613:9d9f prefixlen 64
nd6 options=1<PERFORMNUD>