Linux Network

IP Resolve
The following is my IP resolve configuration. A similar configuration should be used if you have a server with a DNS address.

Server name : servitor Domain     : schmid.dk

echo servitor.schmid.dk >/etc/hostname echo schmid.dk >/etc/domainname /etc/init.d/hostname restart

/etc/hosts: 127.0.0.1      servitor.schmid.dk servitor localhost

Test
servitor.schmid.dk schmid.dk IP address of servitor is 127.0.0.1
 * 1) hostname --fqdn
 * 1) domainname
 * 1) resolveip servitor