From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; T312461) Description of problem: function gethostby* never try to access files /etc/host.conf and /etc/hosts Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. issue command 'host blabla' where 'blabla' any host present in /etc/hosts, but absend in DNS. 2. 3. Actual Results: The host program will fail to resolve it. This is true for both direct and back resolving. Using strace I saw that files /etc/host.conf and /etc/hosts never accessed. Expected Results: Either file /etc/host.conf or /etc/nsswitch conf should be accessed first. The further depends on configuration in this file. Current glibc ignore all this configuration files and always uses DNS to resolve hostnames. Additional info: This is very serious bug and must be fixed immediately.
host does DNS lookups only. It is meant to.