Home | Mirror | Search |
目錄
解析順序配置檔案
[root@development bin]# cat /etc/host.conf order hosts,bind
首先在/etc/hosts檔案中尋找,如果不存在,再去DNS伺服器中尋找
IP地址後面TAB符,然後寫主機地址
127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 192.168.1.10 development.example.com development