Internal DNS

Diaonic

Senior member
May 3, 2002
305
0
0
Here is the scenario:

We have an exchange externally hosted email service. Our local clients are connecting via RPC over HTTPS
email address looks like:
username@xyz.com

We are hosting our website internally

xyz.com

We have a server that is hosting our DNS and also doing SMTP relay to our external email service for some local devices / custom applications.

Here is the issue i'm having:

When I add an A record: www for xyz.com to resolve the website internally our smtp service stop working and it just puts all the mail in the queue folder and it won't send.

i've tried fooling around with a new zone / mx records ect.. but i'm not really sure what to do here.
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
usually you put a specific hostname/ip for a mail relay, but I haven't looked at exchange in a while.

You should be able to have www point to one host, and mail or smtp point to another, and use those names, or hard code IP's into the stuff.
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
Originally posted by: nweaver
usually you put a specific hostname/ip for a mail relay, but I haven't looked at exchange in a while.

You should be able to have www point to one host, and mail or smtp point to another, and use those names, or hard code IP's into the stuff.

EDIT: I would also look at dns, do you have an MX record? It should point at your external mail smtp server, not to your internal SMTP relay, although your relay should NOT rely on mx records in DNS to forward mail out (as long as it's relaying ALL mail through the external DNS server...if it's forwarding requests directly, that's a whole different game)

 

RebateMonger

Elite Member
Dec 24, 2005
11,586
0
0
Yeah. I don't understand why you'd create any internal DNS A records for either xyz.com or www.xyz.com. You didn't name your INTERNAL domain xyz.com, did you?

If I want to resolve an "internally hosted" web site from INSIDE my network, I'll sometimes create an A record with the name "xyz", which will point to the internal NIC on my web server. But I'd never create an internal host name of "www.xyz.com" or "xyz.com". Those are host names that are best reserved for Public DNS Servers.

When your relaying mail server asks for the MX record of "xyz.com", that information should ultimately be coming from your PUBLIC DNS information, and ithe MX record will point to a public IP address. Your Internal DNS Server should have NO IDEA where "www.xyz.com" is located without asking an External (public) DNS Server.

In this case, the best alternative would likely be to get your mail relay server to use a specific IP address as its destination, rather than a host name, sending all email directly to a particular IP address.
 

Diaonic

Senior member
May 3, 2002
305
0
0
I got it figured out, i was creating my MX records wrong.

Thanks for the help.