UBuntu 14.04 LTE under host name and IP address resolution some related configuration files:
/etc/hosts: Host file. Manually configure the mapping between the IP address and the host name. The format is one map bar item per line: <machine_name> <ip_address>.
/etc/network/interfaces: Host network interface configuration file, both Ifup and Ifdown commands depend on it.
/ETC/RESOLV.CONF: Name Server (DNS) configuration file, and actually /etc/resolv.conf is a linked file that points to/run/resolvconf/resolv.conf. you specify the dns-nameservers in/etc/network/interfaces, each time you restart the network interface, this file will be overwritten.
/etc/nsswitch.conf: This file can be configured with the sequence of paths used for name resolution, with the default order of files Mdns4_minimal [Notfound=return] DNS mdns4.
Files representative first find the/etc/hosts file, mdns4_minimal for multicast Dns,[notfound=return] means that the previous multicast DNS if the reply NOTFOUND the system will no longer look for, DNS is the DNS server first to find, MDNS4 is a multicast DNS query (I don't know what the difference is with the previous one)
Linux->> UBuntu 14.04 LTE under host name and IP address resolution