Add MX Records
Hi Expert,
We use our mail servers to trusted relay to Google Apps server and they require to add their MX records to our mail server CentOS 5.3 and I was wondering if someone can provide me the command lines to input or a link to that. Any helps greatly appreciate! Thanks, Hiep |
you just go to your DNS registrar, whoever / whatever / wherever they may be and add those records. This is NOT a change to your mail server, but to your DNS records. Without knowing how your DNS works, we can't posisbly tell you what changes to make as there are SO many ways to provide public DNS records.
|
Thank for your reply. We control our DNS. So it must done from our server not from registrar.
|
what server?
Did you read any of googles support docs about this? they are very useful... e.g. http://support.google.com/a/bin/answ...&answer=140034 |
mail1.wemadeusa.com
mail2.wemadeusa.com |
Unfortunately this url http://support.google.com/a/bin/answ...&answer=140034 is just for if we don't control our DNS. But in my case, we did control our DNS.
Could you provide me command lines or a link on how to add MX records? |
If you control your own DNS, why do you need instructions?? you'd just add an entry to the right zonefile. I'ts pretty trivial for anyone runnign their own name servers. And given that you've entered "mail1.domain.com" I presume that is a mail server, not a dns server? have a google for "mx record bind" and you'll get loads of results.
|
what do you meant by "what software are they running"? are you asking what OS on my mails server? if so it is CentOS 5.3. This mail server is handle DNS, SMTP and Time
|
How are you running a DNS server without apparently knowing anything about it at all? I'm confused.
|
OK. Can you tell me how can YOU add a MX records on the linux server?
|
first of all I pick some DNS software. What did you pick? bind? maradns? djbdns? powerdns?
|
Sorry BIND DNS
|
right so I open the appropriate zone file, probably under /var/named/ and add an MX entry as per the google example, or an example like this... http://www.zytrax.com/books/dns/ch8/mx.html many many others out there.
|
Thank you for the link. But it doesn't show me step by step or what command line I should use to add the MX records
When I run this commands vi /var/named/mydomainname.com.db and I got this no where to add MX records. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "/var/named/wemadeusa.com.db" [New File] 0,0-1 All Any ideas? |
Yeah the file doesn't exist or it's empty:
Code:
"/var/named/wemadeusa.com.db" [New File] 0,0-1 All |
All times are GMT -5. The time now is 03:26 AM. |