Search This Blog

Sunday, July 31, 2011

Configure networking and hostname resolution statically or dynamically

Static configuration of dns:
Go to /etc/resolv.conf and enter
nameserver ip_dns_server

Configuring hostnames statically

go in /etc/hosts and enter resolution for eg
192.168.1.1 abc.xyz.org

No comments: