How to Configure DNS Server in RHEL 6?
Server IP Address: 192.168.1.121 Hostname: newyork.example.com [root@newyork named]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=00:0c:29:a8:9e:61 NM_CONTROLLED=no ONBOOT=yes IPADDR=192.168.1.121 BOOTPROTO=none NETMASK=255.255.255.0 TYPE=Ethernet GATEWAY=192.168.1.1 IPV6INIT=no USERCTL=no [root@newyork named]# vi /etc/sysconfig/network NETWORKING=yes HOSTNAME=newyork.example.com [root@newyork named]# service network restart Shutting down interface eth0: [ OK ] Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: [ OK ] [root@newyork ~]# yum install -y *bind* caching-nameserver [root@newyork ~]# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0C:29:A8:9E:61 inet addr: 192.168.1.121 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff: