DNS Configuration Question

G

Guest

Hi, I would like to know if it is possible to set up a dns record that will
forward my wan ip address to an internal ip. I have a W2k server with AD. The
problem I am having is this. I have a Cayman 3546 router that routes all WAN
http traffic to an internal web server using a pinhole. Everything from the
outside works fine but if we try to access the website internally via the LAN
it will not work. I did some research and apparently this has to do with the
fact that the Cayman doesnt loopback the from the WAN ip. I was hoping I
could set a record in the DNS server to forward any request to the WAN ip
from within the LAN to the webserver I could then access the site from the
LAN as well. Is this possible. I have tried to create different DNS records
without any luck.
Thank you.
 
H

Herb Martin

Patrick McCann said:
Hi, I would like to know if it is possible to set up a dns record that will
forward my wan ip address to an internal ip.

No, not as you have stated it -- that is not a function of
DNS but rather of the NAT-routers that translate between
their external addresses and your internal addresses.

For external clients:
The DNS on the outside will just point to the NAT -- the
NAT will then map to the internal server(s).

For internal clients:
A separate internal DNS will point to the internal addresses.
I have a W2k server with AD. The
problem I am having is this. I have a Cayman 3546 router that routes all WAN
http traffic to an internal web server using a pinhole.

Presumably it is mapping external traffic on port 80 to an
internal address on port 80 (or a substitute port.)
Everything from the
outside works fine but if we try to access the website internally via the LAN
it will not work.

Do you have internal DNS server(s)?
I did some research and apparently this has to do with the
fact that the Cayman doesn't loopback the from the WAN ip. I was hoping I
could set a record in the DNS server to forward any request to the WAN ip
from within the LAN to the webserver I could then access the site from the
LAN as well. Is this possible. I have tried to create different DNS records
without any luck.

All internal clients will need to use strictly the internal DNS
server.

There really is not internal "forwarding" going on -- the forwarding
will be from the internal DNS server to the external DNS (firewall
or ISP) where the Internet addresses will be resolved, since the
internal clients will probably want to do that too and they MUST NOT
use the external DNS servers directly.
 
K

Kevin D. Goodknecht Sr. [MVP]

Patrick said:
Hi, I would like to know if it is possible to set up a dns record
that will forward my wan ip address to an internal ip. I have a W2k
server with AD. The problem I am having is this. I have a Cayman 3546
router that routes all WAN http traffic to an internal web server
using a pinhole. Everything from the outside works fine but if we try
to access the website internally via the LAN it will not work. I did
some research and apparently this has to do with the fact that the
Cayman doesnt loopback the from the WAN ip. I was hoping I could set
a record in the DNS server to forward any request to the WAN ip from
within the LAN to the webserver I could then access the site from the
LAN as well. Is this possible. I have tried to create different DNS
records without any luck.
Thank you.

Create a new forward lookup zone using the website name, e.g.
www.mydomain.com then in that zone create a new host, leave the name field
blank and give it the IP of the internal web server. This wa only
www.mydomain.com will resolve to an internal address. Other names in
mydomain.com will be forwarded.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top