SMTP relay one (1) hostname with two (2) IP Address

Hi,

Anyone can help?

Currently :
I'm am using a smtp smart relay, 1 hostname but different IP Address 192.168.2.108 and 192.168.2.109).

I'm using "smtp.mailhostname.com mailhost" and having an IP Address 192.168.2.108, but there is a certain minutes/seconds that the IP Address will become 192.168.2.109.

In my sendmail (main.cf), I'm using default "mailhost" and in my
/etc/hosts/

   192.168.2.108  smtp.mailhostnamel.com mailhost

My Question :

If I need to put in /etc/hosts

   192.168.2.108  smtp.mailhostname.com mailhost1
   192.168.2.109  smtp.mailhostname.com mailhost2

could it be work? Do I need to indicate "mailhost1" and "mailhost2" in sendmail (mainn.cf)?

Thanks in Advance,
FSPalero

It sounds like you want a DNS alias. Do you have a DNS box on your network?

Hi Jim,

I check, yes we use DNS box in our network.

Regards,
FSPalero