Solved

Setting up DNS to send mail to another server

Posted on 2003-12-09
2
229 Views
Last Modified: 2010-04-21
I have a customer that host their website with me.  They do not want to use my server for their email, instead, they need a MX record pointing to a different IP address.  Currently, all email sent to them bouces.  Here is what I have setup:

@      14400      IN      SOA      ns3.hosting.com.      andy111.sympatico.ca.      (

                              2003112117

                              600

                              2H

                              4W

                              1D

                              )



customer.com.      14400      IN      NS      ns3.hosting.com.

customer.com.      14400      IN      NS      ns4.hosting.com.

customer.com.      14400      IN      NS      .

customer.com.      14400      IN      A      ###.67.248.107



localhost.customer.com.      14400      IN      A      127.0.0.1



customer.com.      14400      IN      MX      0      customer.com.



www      14400      IN      CNAME      customer.com.

ftp      14400      IN      A      ###.67.248.107

mail      14400      IN      A      ###.204.188.149

Am I missing something here?  Could it just be that DNS has not propagated all the way?

Thanks!
0
Comment
Question by:phark
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
Comment Utility
It looks to me like you want mail sent to  ###.204.188.149 which means that the MX should look like:

        IN MX 0 mail.customer.com.

As it is now mail will be sent to ###.67.248.107
0
 

Author Comment

by:phark
Comment Utility
Your own the right track.  What I ended up doing was:

Changing the priorty to 10

customer.com.     14400     IN     MX     10     mail.customer.com.

and adding:

customer.com.     14400     IN     MX     100     customer.com.

The above changes worked.  Thanks for your input!
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now