Hello,
i have a problem with Linux, DNS and a NAT-Router.
The Linux machins has a private ip, the NAT-router is configured as the
DNS server. The NAT router itself uses DDNS and forwards all enquries to
the providers DNS server.
The problem is, the NAT router will not translate the ip addresses in
the answer packages of the providers DNS server. So for the Linux
machine it looks like the DNS answer is coming from another machine as
the enquiry was sent to. The enquiry was sent to the NAT router, the
answer is coming from the providers DNS. Because of that DNS doesn't work.
Is there a way to exchange the source IP address of the DNS answering
packagages to the nat-routers IP, maybe by iptables?
Thanks for any help
Nils