URL Forwarding

James A Griffin agriffin at cpcug.org
Thu Apr 5 20:08:04 UTC 2001


Fritsch Jonathan D CONT PSNS wrote:
> 
>   What do I need to modify so that if a user tries to go to
> www.microsoft.com or the ipaddress of microsoft.com, DNS will automatically
> forward them to my internal web server.
> 
> Thank You,
>   Jonathan

Jonathan,

If the requirement is "internal" then you may want to consider using
"destination Network Address Translation".  This capability is available
as part of the iptables feature in the latest Linux kernels.  See the
paper by Jay Beale (one of the authors of Bastille Linux) at
http://securityportal.com/cover/coverstory20010122.html.

This solution will give you much greater (fine grain) control and
auditing (if your policy requires) then mucking about with DNS. (IMO)

I'm sure that there are other ways to get the same function, but the
Linux-iptables solution is a good way to learn the principals.

Regards,
Jim


More information about the bind-users mailing list