Skip to contentSkip to conversation

DNS ALG

DISCUSSION andre achternaam 2 participants 2 messages Jun 10, 2002 netfilter

lore
Share & tools
lore
#0 lore raw

Good day'

I have set-up a gateway that separates my (private ipv4) LAN from the Internet. The hosts on my LAN are DHCP enabled and using private addresses. Also set-up an authorive DNS server for the hosts with a domain. Since the gateway performs NA(P)T it is not allowed to do queries from the Internet because it get a private address. However I found a RFC (2694 DNS extensions to NAT) that covers this part as far as I understand. (I don�t want to use it for ipv6).

Is there any developer who has looked into a DNS ALG in combination with NA(P)T for ipv4? When yes, what is the status and what are the difficulties he/she/you encounters up till now.

All information is appreciated,
regards,

Andre

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

#1 lore raw

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

Quoted 13 lines · andre achternaam

Good day'

I have set-up a gateway that separates my (private ipv4) LAN from the Internet. The hosts on my LAN are DHCP enabled and using private addresses. Also set-up an authorive DNS server for the hosts with a domain. Since the gateway performs NA(P)T it is not allowed to do queries from the Internet because it get a private address. However I found a RFC (2694 DNS extensions to NAT) that covers this part as far as I understand. (I don’t want to use it for ipv6).

Is there any developer who has looked into a DNS ALG in combination with NA(P)T for ipv4? When yes, what is the status and what are the difficulties he/she/you encounters up till now.