Results 1 to 2 of 2
I have the following line added to /etc/hosts: Code: 192.168.0.253 centos When I navigate to "centos" in a browser, a DNS lookup for "centos" is performed before it resolves the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-18-2009 #1
- Join Date
- Aug 2008
Linux does DNS lookup before it looks at hosts file.
Edit: It seems that only Opera does this...wget goes straight to the host file. Strange, will have to investigate Opera further.
- 09-19-2009 #2
What does your file '/etc/host.conf' have?
etc $ cat host.conf order hosts,bind
The adventure of a life time.
Linux User #296285