bindings in /beos/etc/hosts should take precendence over dns
|Reported by:||rossi||Owned by:||axeld|
|Component:||Network & Internet||Version:||R1/Development|
On every other OS I use, I can override DNS resolution by adding appropiate entries in my local hosts file.
Nescessary, because my router does weird stuff when accessing internal machines, which are also visible to the outside and have a valid dns entry. Example:
I have an internal webserver, which is exposed to the internet, from the outside I can access this server using www.example.com, from the internal network using the IP address works fine, but the name always resolves to the external IP of my router ...
As said, all other OS I use (Mac OS X and Linux) correctly resolv the name to the internal IP address if included in the local hosts file.
Just using the IP address internally doesn't work, as I do use a lot of vhost magic within apache, which depends on the names and I can't duplicate all the magic using the IP address, as it is always the same ...