Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-24-2012, 02:32 PM   #1
Senior Member
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,145
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Thumbs up MX/A record for 3 Virtual Domains

I have set up Mail server(iredmail) on a single server with :

- Linux distribution name and version: Cenot 5.5
- iRedMail version and backend (LDAP/MySQL): iRedMail-0.7.4 with LDAP

Hi I have setup a mailserver using iRedMail with following settings :

hostname of server :
IP of the server : 68.68.3.XX
first domain name :
virtual domain 1 :
virtual domain 2 :

Please let me know the mx record entry for each domain with A record for public IP.

Will A record point to same public IP 68.68.3.XX or I have to have 3 public IPs?

What will be excat MX record entry for all the three domains ?

In short I want to know what will be MX and A record for all three virtual domains.
Old 03-24-2012, 05:36 PM   #2
Ser Olmy
Senior Member
Registered: Jan 2012
Distribution: Slackware
Posts: 2,469

Rep: Reputation: Disabled
The MX records must point to a FQDN (like

An A record for the hostname above must exist and point to a valid IP address.

The FQDN/hostname in the MX record does not have to be in the same domain as the mail domain. Also, multiple MX records can point to the same A record.

So no, you don't need more than one single IP and a single A record pointing to it.
Old 03-29-2012, 03:27 PM   #3
LQ Newbie
Registered: Feb 2012
Posts: 3

Rep: Reputation: Disabled
The MX record will be the same for all 3 domains

Each domain will have it's own A record and point to the same IP (unless you want a different IP assigned to each domain)

You can check your DNS Records here: DNS Lookup


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Postfix and virtual domains peterson.julia Linux - Server 1 01-28-2012 10:48 PM
dyndns and virtual domains ksmatthews Linux - Server 6 06-12-2011 11:06 AM
Virtual Domains on Sendmail??? Hein-ZA Linux - Networking 1 07-18-2003 10:39 AM
Sendmail Virtual Domains jmnovak Linux - Newbie 0 03-12-2003 11:49 AM
Virtual Domains gene_gEnie Linux - Networking 2 09-16-2001 02:56 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration