What I have: all the local users are working through local domain controller set up as a typical environment: Win 2008, MS Exchange, MS DNS, etc. I have a web server connected to the local net. to have this server available from "outside" there is a static route in firewall that forwards all port 80 traffic from external ip to my local webserver. There's a public dns (A) record for xxx.domain.com that points to my external ip. everything works fine here...at least if you're accessing xxx.domain.com from "outside" (not being connected as a local domain user).
what am I trying to do: if local user is trying to open xxx.domain.xom, dns resolves correct public ip, but connection fails. I was trying to add forwards DNS zone into MS DNS server to override xxx.domain.com for local users so it goes directly to local web server.
the problem I'm facing right now: nslookup returns xxx.domain.com.domain.local for xxx.domain.com and valid web server IP address, but ping and connect resolves xxx.domain.com as an external IP. as a result, connection to xxx.domain.com fails.
Question: what am I doing wrong? - why cant local users connect to the server using external IP? - how to setup DNS server to override xxx.domain.com for local users?
Feel free to ask questions if my problems doesn't look clear enough!