Solved

Setting up DNS to send mail to another server

Posted on 2003-12-09
2
239 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
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

790 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