Re: Apache with DNS

From: Torsten Kirschner (torsten.kirschner_at_sandbox.no)
Date: 11/02/03


Date: Sun, 2 Nov 2003 23:28:30 +0100


"raksul" <member46708@dbforums.com> skrev i melding
 news:3550680.1067795817@dbforums.com...
[...]
> I'm havin' a slight issue with the Apache 2.0 web server running behind
> a NAT hardware firewall (Linksys FVS318). For some reason there is no
> DNS resolution for my website (http://filehole.shacknet.nu). I've tried
> checking xinetd for any solutions... no go. I tried modifying my
> /etc/hosts file to resolve to the WAN IP address and local address
> (192.168.0.2) ... still no go. My last issue might be the hosts.allow
> and the hosts.deny files.
[...]

So in other words, except for the webserver itself, none of the machines
on Your private net resolve the name filehole.shacknet.nu to its private
address 192.168.0.2.

Try to add "filehole.shacknet.nu 192.168.0.2" to these machines'
hosts file, i.e. /etc/hosts if UNIX, if NT/W2K C:\WINDOWS\SYSTEM32\DRI-
VERS\etc\hosts.

It appears to me that it's those other private machines which - using
DNS - always will resolve your website as 64.55.105.9, 212.181.91.6,
but not 192.168.02. And how should they?

If You must use DNS, You will also have to run a private DNS cache
which resolves Your hosts to Your private addresses and forwards the
remaining DNS queries to real DNS servers.



Relevant Pages

  • Re: Need Help from DNS Expert on Subdomain DNS Records
    ... When you use nslookup to resolve these names do you get the correct internal ... domain from within and outside our firewall. ... public IP to point to the same private IP, ... You need to verify that the all DNS servers assigned to a the DNS Client be ...
    (microsoft.public.windows.server.dns)
  • Re: DNS Server with 2 NICs
    ... >> Public IP and the other one is having Private IP. ... the problelm I am facing is that when I ping my DNS ... > If you are trying to host the public zone on the private DNS server ... > Intermittent Internet Connection - DNS Netlogon refresh problem? ...
    (microsoft.public.windows.server.dns)
  • Re: NAT without DHCP? (w2k3)
    ... How I can troubleshoot the problem and see why ip packets from the private ... DNS works perfectly fine but nothing else. ... How does your server connect to the Internet? ... I also enabled NAT tracing - may be this can help? ...
    (microsoft.public.windows.server.networking)
  • Re: Public adapter configuration
    ... Despite you clear everything on the Private Nics (DNS, gateway, Netbios over ... etc)...if the nodes are DC's the Netlogon service will register the ... A record for the private NIC's... ...
    (microsoft.public.windows.server.clustering)
  • switching between dynamic and static IP on wifi laptop?
    ... involves running a private web server. ... DNS or gateway information, so it's easier to use DHCP. ... parents' house. ... sort of command to figure out what DNS server settings to make when I'm ...
    (comp.os.linux.networking)