Solved

editing MX dns records

Posted on 2003-12-09
2
329 Views
Last Modified: 2010-04-20

There are three ip addresses on my server.  A spamfilter I have 'listens' on one of them.  I need to edit the dns configuration (on my hosting companies dns - which can be edited through the member area) so that mail from a domain on a different ip address goes through the ip with the spam filter.

Right now, the MX records look like:

mail.sampledomain.com.   (MX)  10 mail.theknotlongdistance.com.
sampledomain.com.          (MX)  10 mail.theknotlongdistance.com.

mail.sampledomain.com  (A)  with a numeric ip address

-------------------

I found that I could change that third one (enter the spamfilter's ip) and send mail to user@mail.sampledomain.com and it will go through the spamfilter just fine.

However, mail sent to user@sampledomain.com does not get routed through the spamfilter.

So...... can I simple change the MX records (10 mail.theknotlongdistance.com.) to the ip address I want mail routed through?

What does the '10' do, and should I include that?

Thanks,

Chris
0
Comment
Question by:ChrisAndrews
[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 17

Accepted Solution

by:
Tacobell777 earned 50 total points
ID: 9909381
The number is the order in which to use the mailserver, i.e. one preference over the other.
If 10 cannot be reached use 20 etc. etc.

Example

mail.sampledomain.com   MX  10 mail1.theknotlongdistance.com
mail.sampledomain.com          MX  20 mail2.theknotlongdistance.com
mail.sampledomain.com          MX  30 mail3.theknotlongdistance.com

Hope that helps.
0
 

Author Comment

by:ChrisAndrews
ID: 9909421

That helps, I will give this a try, thanks :)

Chris
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

717 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