On Thursday 04 January 2007 16:50, [EMAIL PROTECTED] wrote: > I'm having trouble getting to an internal web server which the outside > world can see. > I have an ADSL modem forwarding port 80 to an IPCOP firewall. > This firewall forwards port 80 to the webserver (Centos 4.4) > > From outside the website comes up fine. > From internal I get the webpage of the ADSL modem rather than the website. > Is this because I have to split off internal DNS differently from > external DNS?
Ben I asked the same question in this forum a while ago: 1) You need to run your own DNS server 2) you need to enable views so that from the outside your name.me.au resolves to 203.whatever.47 and from the inside it resolves to 192.whatever.10 OR you browse the web-server as http://192.whatever.10 The named.conf file would look like this: view "internal" { match-clients { localnets; }; recursion yes; zone "tigger.ws" { type master; file "master/tigger.internal.zone"; allow-query { any; }; allow-update { none; }; }; } view "external" { match-clients { any; }; zone "tigger.ws" { type master; file "master/tigger.zone"; allow-query { any; }; allow-update { none; }; }; } James -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
