Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 534
  • Last Modified:

MX Record Issue

I am hosting a web site on my server (from within my domain) for a site related to another domain and I can't send emails to anyone on that domain. For example, I am hosting www.domain1.com on a server within www.domain2.com's network.  Now I can't send an email from www.domian1.com (using CDOSYS) or from bob@domain2.com to any recipient at domain1.com (ie: johndoe@domain1.com).  I have changed the mx record on domain1.com in my Windows 2000 server to what I think it should be to no avail.  Is there anything else I could be doing wrong?

I am a little bit susipcious of the mx record that they sent me but they say it is the correct one for their mail server.  Note that I host my own exchanger server on domain2.com's domain controller.
0
Bob Schneider
Asked:
Bob Schneider
  • 8
  • 6
  • 2
  • +1
3 Solutions
 
lavinpj1Commented:
If you tell us the domain we would be able to do some debugging.

Phil
0
 
alvesvaCommented:
If the domain1 Web site is available publically (on the Web), you should not have any entries in your internal network.  The DNS resolution would be done by a public DNS server.
If the Web site is only internal such as an Intranet, youll have to create a new zone for the second domain (domain1.com).
I hope it helps!
0
 
Bob SchneiderAuthor Commented:
I am hosting www.stjohns-excelsior.org website on the www.h51software.net domain.
0
Ready for your healthcare security check-up?

In the past few years, healthcare organizations have become a prime target for advanced attacks. Does your organization have what it needs to defend itself? Schedule your healthcare security check-up today and download our free Healthcare Security Resource Kit today!

 
lavinpj1Commented:
The first domain seems ok. It has an MX record which points to a seemingly valid MS SMTP server. The 2nd domain doesn't have an MX record.

Phil
0
 
mabthalCommented:
alvesva is right, They should not have to provide you with the MX records these should be on a public DNS server. (I am assuming that thier domain is not on your network)
0
 
Bob SchneiderAuthor Commented:
so I now have valid mx record for h51software.net (my network/domain) and stjohns-excelsior.org (not my network but their site is hosted on my network).  I have both mx records in my forward lookup zones.  Is that correct?  if not please advise.  If it is correct, please let me know where I might look next for the solution.

I REALLY appreciate the help!
0
 
mabthalCommented:
On your mail server try to lookup the mx record for the domain you cannot send emails to:
start - run - type cmd and hit ok
type: nslookup   hit enter
type: set q=mx   hit enter
type in the domain you cannot send emails to and hit enter (ie: microsoft.com)

Verify the results are correct



0
 
Bob SchneiderAuthor Commented:
it did not come up correct.  It came up as my server, not the mail server on their domain.  How do I resolve that?
0
 
mabthalCommented:
I assume you have a primary zone (forward) for thier domain on your DNS server. This is the zone where you need to creatre the MX record .
0
 
Bob SchneiderAuthor Commented:
Should I do this on my domain controller or on my web server?
0
 
mabthalCommented:
This should be done on the DNS server that you mail server is pointing to.

ipconfig /all from the command line will tell you.

Once you add the record on the dns server rerun the nslookup command if idoesn't match what you have entered  run ipconfig /flushdns on the mail server

0
 
Bob SchneiderAuthor Commented:
Nothing is working.  Could this be a host files issue?  Anyway here is everything I can tell you:

1) My exchange server is definitely confused.  It doesn't know where to send the emails to stjohns-excelsior.org.  I have the mx record pointing to the correct place in the dns on my domain controller (which doubles as my exchenger server).  The forward lookup has an entry for mx.stjohns-excelsior.org.  Still, the messages sit in the queue waiting to resend.  When I open the properties for these Items I get "Unable to bind to the destination server in dns."

2) Should I do anything in the reverse lookup zones?  When I right click on the properties for the pointer for this domain in there what should be checked under "Security"?  There is an entry there for Exchange Enterprise Servers (but there is no IUSR entry?)

3) Should I be doing something from within Exchange itself?

4) What about the web server?  All pages come up just fine-there is no issue at all on this end of things but should I do anything there in terms of this problem?

5) When I do the nslookup process for this mx record it points to my domain controller, not the domain that is hosting their exchange.

I appreciate anything anyone can do!!!!!!!
0
 
Bob SchneiderAuthor Commented:
I can only think of one other thing:  the stjohns-excelsior.org website is a single page that redirects to another site on my server. How should I handle that from an mx record issue?
0
 
mabthalCommented:
Do you have a forward DNS zone for stjohns-excelsior.org on your internal DNS server?

You do not need reverse zone to make this work. Your exchange server is querying DNS for the mx record for stjohns-excelsior.org if this forward zone is not on your local DNS server it should forward the request out to a public DNS server.
Here is the return I get:
stjohns-excelsior.org   MX preference = 10, mail exchanger = mx.stjohns-excelsior.org

0
 
Bob SchneiderAuthor Commented:
I do have a forward to mx.stjohns.excelsior.org on my internal dns server in the forward lookup zone for this site.  I assume the public dns server is mx.stjohns-exceclsior.org?
0
 
mabthalCommented:
Ok you will need to create an A record in that same zone that points
mx.stjohns-excelsior.org to 63.87.127.246

0
 
Bob SchneiderAuthor Commented:
This is getting nuts.  I do apologize for all the time you are spending.  Can anyone please tell me just exactly what my dns/domain controller, exchange server, and iis on my web server should look like in order to send mail to stjohns-excelsior.org?  I realize this is almost certainly my error and my inexperience and I truly appreciate all the help I am getting but I really need to resolve this.

Here is how my system is set up:
1) I have a hardware firewall.
2) I have a domain controller (windows 2000 server) that also housesmy dns and my exchange server.
3) On a seperate box I have my web server (windows 2003 server).

Here is what is happening:
Everything is working fine except that I can not send emaisl, either from my outlook or usng cdosys from www.stjohns-excelsior.org, to anyone at some_user@stjohns-exceclsior.org.  They can send to me just fine.

Here is the set-up:
1) St Johns is hosting their own domain
2) I am hosting a website for stjohns-excelsior.org on my web server at h51software.net.
3) The requests for www.stjohns-excelsior.org come in and are redirected to www.h51school.com/schools/home_page.asp?school_id=1 (on the same server).

Can someone please tell me the following:
1) Is there anything that i need to do on my web server?
2) What records should I have (a, mx, etc) in my dnsmgmt utility on my domain controller, and in which zone (stjohns-excelsior.org and/or h51school.com).
3) Is there anything I can do with my exchange server to resolve this issue

As always, your help is MUCH APPRECIATED!!!
0
 
alvesvaCommented:
From my first post:
You should have only entries for your domain on DNS.
You should not have any entries or zones for stjohns-excelsior.org (Because it does not reside inside your network.  If it did, likely you'd have the email for both domains on the same Exchange, and it would do the management of the email without any intervantion or internal DNS entries).
You DNS server, if it's not public, should have forwarders setup.  The forwarders should point to public DNS servers.
The Exchange server and Domain controller should point to your DNS server.
Your Public DNS entry (the one that your provider/domain authority manages) should have an MX entry for h51school.com, St. Johns should have one on theirs.  That's because most Email servers request reverse lookup of emails coming in and if your Exchange does not have a valid MX record in a public DNS, the email likely will be dropped.
When I checked the MX for h51school.com I get 192.168.1.1  (An internal address) from a server called dslrouter.
When I checked the MX for stjohns-excelsior.org I get the same address and same server.
So, it seems the MX records do not seem configured right. They need to point to a public IP address. If they do not reside on the same exchange server, I should got different results for each domain.
The fact that you're redirecting, works fine without you using any entries for stjohns-excelsior.org
in your DNS server.  This is all done by a public DNS server, the one that you setup as forwarder in your DNS server.
If your email server and St. John's email server where (or are) OK as far as public IP and MX records go,
Just get rid of any entries that you may have for stjohns-excelsior.org in your internal DNS server.  Clear the cache on your DNS server, run ipconfig /flushdns on your Exchange server, and as far as I can tell, it should work.
I hope it helps!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 8
  • 6
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now