On Sun, Nov 16, 2008 at 7:25 AM, Vivek Ayer <[EMAIL PROTECTED]> wrote: > > Need some help with DNS queries behind a router. I set up a DNS server > in my network and it responds when I'm within my network. I tried > nslookup from localhost on the dns server and also from the LAN and it > works just find, but when I use the public IP of the router for the > network, which should forward the port to the DNS server, it says > "unexpected reply from 192.168.1.101, expected from the (public IP, > which I won't display in this email)." Does that mean the port > forwarding is working?
I am not sure whether you really did direct that query over the internet to the public IP or from your local LAN. Initiating a DNS query from a local LAN box to the public IP will not get redirected. See http://openbsd.org/faq/pf/rdr.html#reflect for the explanation. =Adriaan=