How To Add DNS in CentOS or RedHat Family

Posted: September 29, 2010 in Linux
Tag:, , , , , ,

Follow this Step.

1. Find and Open “resolv.conf” file.
[root@NMS-Triplayplus source]# vim /etc/resolv.conf ::or:: vi /etc/resolv.conf

2. Add nameserver Address
nameserver 10.101.0.2
nameserver 202.51.96.5
nameserver 202.51.96.10

3. Save.

4. Ping google.com
[root@NMS-Triplayplus source]# ping google.com
PING google.com (64.233.181.104) 56(84) bytes of data.
64 bytes from ni-in-f104.1e100.net (64.233.181.104): icmp_seq=1 ttl=52 time=141 ms

5. DONE.

©.dat-2010

Iklan

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s