List DNS servers for internet domain name resolution.
Lists hosts to be resolved locally (not by DNS).
List order of host name search. Typically look at local files, then NIS server, then DNS server.
[root@fedora ~]# hostname -f fedora.example.com [root@fedora ~]# cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=fedora.example.com NTPSERVERARGS=iburst [root@fedora ~]# cat /etc/resolv.conf # Generated by NetworkManager nameserver 8.8.8.8 [root@fedora ~]# grep dns /etc/nsswitch.conf # dns Use DNS (Domain Name Service) #hosts: db files nisplus nis dns hosts: files dns myhostname [root@fedora ~]# |
Specify network configuration. eg. Static IP, DHCP, NIS, etc.
Specify TCP network information.
Specify network configuration and devices. eg. Static IP and info, DHCP, etc.