Skip to contentSkip to conversation

DNS ALG

DISCUSSION andre achternaam 1 participant 1 message Jun 11, 2002 netfilter

lore
Share & tools
lore
#0 lore raw

Hi Tommy & others,

At my gateway I have already installed DNS together with DHCP (Bind isc) when a lease is hand out the DHCP will update the DNS as well. (ad-hoc for the people who know i'am talking 'bout). Let's say DHCP adds:
host_foo at address 10.0.0.3 than it should not not result in a (external) query like this:
Q] host_foo.mydomain.com
A] 10.0.0.3
However, for an internal query this is oke but I want to resolve the external query as well, as specified in RFC2694 (DNS_ALG).

I looked at the DNS-masq project and cannot find/see/read if it solve my problem. As far as i can understand its a lightweight DNS server that can be used in small natted networks, with caching and DNS resolving for the internal side only.

Regards,
Andre Kleibeuker

Quoted 8 lines

I would think that you can masq the DNS queries and responses using connection tracking, but I have not tried recently. I have found that running a DNS cache on the masq machine is nicer. It provides much faster responses and reduces traffic. There are several available. I think 'dnsmasq' is probably one of the best. If you are running Debian Woody or Sid, use "apt-get install dnsmasq", else look here:

http://www.thekelleys.org.uk/dnsmasq/doc.html

_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com