resolving locally

From: Paddy (patrick_at_scotcomms.co.uk)
Date: 01/30/04


Date: Fri, 30 Jan 2004 11:14:03 -0000

Hi,

We have apache running a SSL site and a few name based virtual sites. This
server sits in our DMZ. All names on the server resolve to private IPs via
hosts. The firewall maps public IPs to private IPs. All is working well
until now. We now need to do curl from one of the virtual sites to the
secure site. For some reason Apache is resolving the name to the Public IP
and the Firewall is stopping this from happening.
If (on the local machine) I ping the name of any of the sites I get a
response from the correct private IP. If I telnet the same name it tries to
connect to the public IP.
Why would ping return the IP from the hosts file yet Apache, Lynx and telnet
resolve to the public IP. I noticed in host.conf that multi was set to on, I
set this to off but it didn't help. In hosts.conf the order is hosts bind.

What am I missing?

TIA,

Patrick



Relevant Pages

  • Re: Apache startup resolve problem
    ... The strange thing is that doing DNS ... I assume Apache's resolve method uses this information. ... I thing Apache will not warn if it can't resolve a hostname set in the ... ServerName of a VirtualHost section. ...
    (comp.infosystems.www.servers.unix)
  • Re: apache virtual hosts
    ... >> Both urls resolve to the same ip, but I believe that you can ... > The best place to ask this question would probably be the Apache ... > apache virtual web howto ...
    (alt.os.linux.redhat)
  • Re: WebMin and Apache 1.x and 2.x both installed?
    ... Webmin to use Apache. ... I did discover this while trying to resolve the issue du jour. ... the PHP issue. ... If anyone needs me, I'll be browsing random random directories, looking for ...
    (Ubuntu)
  • Re: Apache 2.0.44 binaries
    ... >>The binaries were downloaded from the diectory correspondent to my ... > We're having similar problems with Apache 2x from bull. ... > That's what we did to resolve these issues. ...
    (comp.unix.aix)
  • Re: Cache DNS...??
    ... > server resolve names which are already resolved ... instead of going to service provider DNS. ... It will resolve LAN host names, cache DNS queries, and also ...
    (Debian-User)