root@linux:~# ping -c2 8.8.8.8
PING 8.8.8.8 (8.8.8.

56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=54 time=73.6 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=71.1 ms
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 71.173/72.428/73.684/1.284 ms
root@linux:~# nslookup ya.ru
Server: 10.8.3.1
Address: 10.8.3.1#53
** server can't find ya.ru: NXDOMAIN
root@linux:~# nslookup ya.ru 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
Name: ya.ru
Address: 77.88.21.3
Name: ya.ru
Address: 87.250.250.3
Name: ya.ru
Address: 87.250.251.3
Name: ya.ru
Address: 93.158.134.3
Name: ya.ru
Address: 213.180.204.3
root@linux:~# ping -c2 ya.ru
ping: unknown host ya.ru