dns doctoring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



List --

I'm building an iptables firewall to replace my pix 506.  The firewall will
only have two interfaces for now.  My dns server sits outside my firewall on
the internet and answers queries for both my internal network and the world.
Of course it only contains real world ips.  The pix has an option (called
alias) that doctors dns request from my internal lan so that the reply
packet contains the internal ip address instead of the public address given
out by my dns server.  This lets the internal machines access internal hosts
via dns without having to run two dns servers.  For example with following
command:

alias (inside) 192.168.0.5 245.243.3.5 255.255.255.255

all dns queries passing through the pix containing the address 245.243.3.5
are re-written to contain 192.168.0.5.  My question is, is there any way to
do this with iptables?  How is everyone handling this?  I would really like
to avoid having two dns servers.  I am very new to iptables so any and all
help is much appreciated.

Thanks

~Micah



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux