?
Solved

Setting up DNS to send mail to another server

Posted on 2003-12-09
2
Medium Priority
?
253 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 1000 total points
ID: 9908152
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
ID: 9908402
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

Command Line Tips and Tricks

The command line is a powerful tool at the disposal of every Linux user. Although Linux distros come with beautiful user interfaces, it's worthwhile to learn the command line because it allows you to do a number of things that you otherwise cannot do from the GUI.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month12 days, 8 hours left to enroll

777 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