Having a most interesting problem using NAT on a Cisco 2600 series router with a DNS server behind it. I may be crazy, but I think the Cisco is modifying the DNS queries the server is sending back! Here's a quick breakdown
Windows 2000 server - 192.168.1.100
Cisco 2620 Router - 208.xx.xx.33
I believed I used the "ip nat inside source static" command on the router to forward all external 208.xx.xx.36 requests to 192.168.1.100 internal address. This works flawlessly for smtp & www traffic. With DNS implemented, something completely goofy happens. All DNS "A" requests that point to the external 208.xx.xx.36 IP end up returning the router's 208.xx.xx.33 IP!!! Here is my outside test:
----
[gantry@xxx gantry]$ nslookup
> server 208.xx.xx.36
Default server: 208.xx.xx.36
Address: 208.xx.xx.36#53
> mail.xxxx.com
Server: 208.xx.xx.36
Address: 208.xx.xx.36#53
Name: mail.xxxx.com
Address: 208.xx.xx.33
--
Even stranger is when I try to query any address that ins't ponting to 208.xx.xx.36, the name server will simply timeout! So in recap - external queries to 208.xx.xx.36 (which is the NAT'ted IP of the server) will return the router's .33 address & external queries to any other IP will time out. Contrast to running internally:
--
C:\WINNT> nslookup
Address: 192.168.1.100
> mail.xxxx.com
Name: mail.xxxx.com
Address: 208.xx.xx.36
--
Anybody know what is going on? The only thing I can think of is that I'm having a problem with udp....
Windows 2000 server - 192.168.1.100
Cisco 2620 Router - 208.xx.xx.33
I believed I used the "ip nat inside source static" command on the router to forward all external 208.xx.xx.36 requests to 192.168.1.100 internal address. This works flawlessly for smtp & www traffic. With DNS implemented, something completely goofy happens. All DNS "A" requests that point to the external 208.xx.xx.36 IP end up returning the router's 208.xx.xx.33 IP!!! Here is my outside test:
----
[gantry@xxx gantry]$ nslookup
> server 208.xx.xx.36
Default server: 208.xx.xx.36
Address: 208.xx.xx.36#53
> mail.xxxx.com
Server: 208.xx.xx.36
Address: 208.xx.xx.36#53
Name: mail.xxxx.com
Address: 208.xx.xx.33
--
Even stranger is when I try to query any address that ins't ponting to 208.xx.xx.36, the name server will simply timeout! So in recap - external queries to 208.xx.xx.36 (which is the NAT'ted IP of the server) will return the router's .33 address & external queries to any other IP will time out. Contrast to running internally:
--
C:\WINNT> nslookup
Address: 192.168.1.100
> mail.xxxx.com
Name: mail.xxxx.com
Address: 208.xx.xx.36
--
Anybody know what is going on? The only thing I can think of is that I'm having a problem with udp....