On 05/21/2012 10:59 AM, Cecil Yother, Jr. wrote:
I am not sure I quite understand why it doesn't work and a resolver is
needed.  If I do a dig it answers to the proper IP.  It stands to reason
that I should be able to access that server through a web browser, and
it cannot.  What is a resolver going to tell my system that it already
doesn't know ?

On 05/21/2012 10:52 AM, Eric Shubert wrote:
I don't think so. I don't think you should have the same name twice in
your hosts file. I'm not sure off hand which address linux would
return in this case. (How would it know when to return which one?)

What makes this work is that one resolver (your local resolver) is
used when connected to the LAN which returns the LAN address
corresponding to the name, and a different resolver (internet
authoritative dns) is used when connected to the WAN.

A firewall such as IPCop can be used as a local resolver to provide
the local addresses (recommended method). This can also be implemented
in a single bind host using the split horizon feature, but that's a
bit tricky.


--

Did doesn't look at /etc/hosts.

If your dig answers with the proper IP, you should be ok.

--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to