boofirst@boofirst:~$ nslookup ya.ru
ping -c4 8.8.8.8
ping -c4 ya.ru
;; connection timed out; no servers could be reached
boofirst@boofirst:~$ ping -c4 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=55 time=53.5 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=55 time=53.7 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=55 time=54.0 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=55 time=53.9 ms
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 53.587/53.843/54.032/0.290 ms
boofirst@boofirst:~$ ping -c4 ya.ru
ping: unknown host ya.ru
boofirst@boofirst:~$
boofirst@boofirst:~$ sudo su root -c "echo 'nameserver 8.8.8.8' >> /etc/resolv.conf"
[sudo] password for boofirst:
boofirst@boofirst:~$ sudo su root -c "echo 'nameserver 8.8.8.8' >> /etc/resolv.conf"
boofirst@boofirst:~$ nslookup ya.ru
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
Name: ya.ru
Address: 87.250.251.3
Name: ya.ru
Address: 93.158.134.3
Name: ya.ru
Address: 213.180.204.3
Name: ya.ru
Address: 77.88.21.3
Name: ya.ru
Address: 87.250.250.3
boofirst@boofirst:~$