1833873 Members
2030 Online
110063 Solutions
New Discussion

DNS

 
SOLVED
Go to solution
hpuxsa
Frequent Advisor

DNS

We have two SMTP servers one is primary and the other is secondary. I need to configure the sendmail on all our HP servers so that if the primary SMTP server goes down we should be able to look at the secondary SMTP server. Could someone tell me how we can do this.

Is it possible to add an entry in dns with two ipaddresses against a hostname.
2 REPLIES 2
Murat SULUHAN
Honored Contributor
Solution

Re: DNS

Hi

in your named configuration file, you must configure your dns-mx entry like that

ora.com. IN MX 0 ora.ora.com.
ora.com. IN MX 10 ruby.ora.com.

and then restart your named, 0 is the primary mx server and so ruby secondary,

Best Regards
Murat


Murat Suluhan
Geoff Wild
Honored Contributor

Re: DNS

What you do is, create a MX record to 2 different mail servers:

smtp1.yourdomain.com. 3600 IN MX 20 mailserver1.yourdomain.com.
smtp1.pcacorp.net. 3600 IN MX 10 mailserver2.yourdomain.com.

Then in your sendmail.cf file on your HP-UX servers:

DSsmtp1

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.