6 May
2004
6 May
'04
14:20
Hello, I have a question about a network. For exmaple, /etc/hosts file is set up as follows. $ cat /etc/hosts | grep dummy 192.168.0.123 dummy.example.com And I executed the following commands. $ host dummy.example.com Host dummy.example.com not found: 3(NXDOMAIN) $ a hostname failed in solution. Although environment is the following, I think that result very strange. $ cat /etc/host.conf | grep order order hosts, bind $ cat /etc/nsswitch.conf | grep host hosts: files dns I used strace, $ strace -eopen host dummy.example.com 2>&1 | grep hosts $ It did not open the hosts file. Why does it become this phenomenon? eshsf