faking replies for specific clients

Barry Margolin barmar at alum.mit.edu
Sun May 8 15:21:49 UTC 2005


In article <d5l3bs$n84$1 at sf1.isc.org>,
 Enrico Weigelt <weigelt at metux.de> wrote:

> Hi folks,
> 
> 
> I'd like fake a hostname to clients coming from the intranet, 
> so they get the internal IP instead of the external one. 
> This is mainly for mobile PCs, sometimes sitting in-house and
> sometimes coming from the outside.
> 
> The system to fake is connected to the world via DSL with dynamic
> IP address. I'm using dynamic DNS to announce the IP to the world.
> This dynamic hostname is used by the mobile PCs for a lot of 
> applications. When they're sitting in-house and the external IP
> changes, all connections are broken. I'd like to prevent this.
> 
> How can I do this ?

Use the "view" feature.  Create a view that matches the intranet address 
block, and use a zone file that contains the internal IPs.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***



More information about the bind-users mailing list