blog‎ > ‎

/etc/resolv.conf

posted 12 Nov 2012, 22:57 by Kampau Ocu   [ updated 13 Nov 2012, 21:50 ]
sepertinya ubuntu server otomatis ngilangin nameservernya ya?

cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 10.254.40.1
# Generated by NetworkManager


*awalnya malah kosong nameserver nya ...

update: setelah ditambahkan oleh Webmin, 
domain poltek-kampar.ac.id

sehingga nanti untuk ping ke server yang lain, tinggal ketik nama servernya saja ...

muhammad@ltsp:~$ ping email
PING email.poltek-kampar.ac.id (222.124.8.204) 56(84) bytes of data.
64 bytes from 204.subnet222-124-8.astinet.telkom.net.id (222.124.8.204): icmp_req=1 ttl=64 time=6.09 ms
64 bytes from 204.subnet222-124-8.astinet.telkom.net.id (222.124.8.204): icmp_req=2 ttl=64 time=0.418 ms
64 bytes from 204.subnet222-124-8.astinet.telkom.net.id (222.124.8.204): icmp_req=3 ttl=64 time=0.396 ms
^C
--- email.poltek-kampar.ac.id ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.396/2.303/6.097/2.682 ms
muhammad@ltsp:~$
muhammad@ltsp:~$
muhammad@ltsp:~$ cat /etc/resolv.conf
nameserver 222.124.8.203
nameserver 8.8.8.8
domain poltek-kampar.ac.id
# Generated by NetworkManager
muhammad@ltsp:~$



Comments