This is a discussion on Re: Intrantet access to the webserver within the Bind Users forums, part of the DNS and Related Forums category; Barry Margolin <barry.margolin@level3.com> wrote in message news:<bdi2ei$32p$1@sf1.isc.org>... &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Barry Margolin <barry.margolin@level3.com> wrote in message news:<bdi2ei$32p$1@sf1.isc.org>...
> In article <bdhvpb$h3$1@sf1.isc.org>, chema <chema_Che@yahoo.es> wrote: > >Well. > >I have a Debian 3.0 with apache webserver and bind 8 and access to > >internet via dsl/router. > >I have configured my bind to resolve the dnsname www.mycompany.com to > >the external ip of the router. > >The web server run fine from outside the intranet but when a computer > >of the intranet brouse www.mycompany.com is redirected to the external > >ip and the router refuse the request. > >how can I do that the ip assigned to www.mycompany.com be the external > >ip of the router for the people outside the intranet and the ip > >assigned for www.mycompany.com be the ip for the webserver in the > >intranet (172.16.0.2) for the computers that acces from the intranet.? > > > >could be the problem of the router configuration? > > Look into the "views" mechanism in named.conf to provide different > responses depending on whether the query is coming from an internal address > or an external address. thank you very much for your help but, could you send me a small example for do that ? |
![]() |
| Thread Tools | |
| Display Modes | |
|
|