On our domain we have a PDC which also serves as the DNS for devices connected to the domain. We have an email server on a separate machine with a static IP address. For the users connected to the domain I would like calls to that machine (emailsvr) to use the domain IP address (192.x.x.x). For mobile users (i.e., laptops) I want the domain IP address used when connected to the domain and the public IP address used when outside the domain.
Currently all calls to the email server route through the public IP (been working that way for years) even if connected to the domain. Seems a roundabout way to get to a server that is on the domain.
I have tried LMHOSTS on the PDC and have the TCP/IP protocol selected to use LMHOSTS. In that file on the PDC I have an entry with "IP Adresss emailsvr #PRE" (w/o the quotes).