CentOS 6.X# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
TYPE=Ethernet
onBOOT=yes
BOOTPROTO=dhcp
DNS1=8.8.8.8
DNS2=168.126.63.1
# rm -f /etc/resolv.conf
# ifdown eth0; ifup eth0
# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search novalocal
nameserver 8.8.8.8
nameserver 168.126.63.1
Ubuntu 14.04 LTS
/etc/dhcp/dhclient.conf ¼öÁ¤
:: DHCP ¿¡¼ Á¤ÀÇµÈ DNS ÀÌ¿Ü¿¡ ¼³Á¤ÇÑ DNS ¼¹ö Ãß°¡
supersede domain-name-servers 8.8.8.8, 168.126.63.1;
:: DHCP ¿¡¼ Á¤ÀÇÇÑ DNS ¹«½ÃÇÏ°í ¼³Á¤ÇÑ DNS ¼¹ö¸¸ Ãß°¡
prepend domain-name-servers 8.8.8.8, 168.126.63.1;
# ifdown eth0; ifup eth0
# cat /etc/resolv.conf
domain novalocal
search novalocal
nameserver 8.8.8.8
nameserver 168.126.63.1
nameserver 1XX.XXX.XXX.225 # supersede ¼³Á¤ÇßÀ» °æ¿ì