LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   2 domains for email in DNS (https://www.linuxquestions.org/questions/linux-server-73/2-domains-for-email-in-dns-944066/)

kalidoss 05-09-2012 09:02 AM

2 domains for email in DNS
 
Hello,

I have installed and configured DNS server on RHEL4. My domain name is 'name.dos.govt.com'. I want to configure my domain also as 'name.govt.com' ie.,
2 domains . If mail sent to any one of the domains inside corportate network, it should come. (user@name.dos.govt.com ======= user@name.govt.com )

How it is possible???

acid_kewpie 05-09-2012 09:26 AM

at a DNS level, you just set an MX record to the right mail server for each domain.

kalidoss 05-09-2012 11:58 AM

2 MX->>>> single mail server
 
Hello,

2 MX records of diffrent domains can point to single mail server (same ip address )?????

lithos 05-09-2012 01:10 PM

Quote:

Originally Posted by kalidoss (Post 4674399)
Hello,

2 MX records of diffrent domains can point to single mail server (same ip address )?????

well, yes !

It just depends how the mail server is configured (mostly postfix and virtual domains, aliases)

It's like google is your friend.
- setup postfix
- virtual hosting with postfix
- postfix + dovecot

acid_kewpie 05-09-2012 01:13 PM

Googles mail servers are the destination for about 1 trillion billion different domains.

TenTenths 05-10-2012 05:00 AM

Quote:

Originally Posted by acid_kewpie (Post 4674461)
Googles mail servers are the destination for about 1 trillion billion different domains.

and six of them are mine! ;)


All times are GMT -5. The time now is 05:09 PM.