VMware vSphere

 View Only
  • 1.  Using MX record to determine valid IP from DNS name?

    Posted Jan 25, 2007 02:14 PM
    Is there a way to configure Hyperic to use the MX records of a hostname to get the IP address of an SMTP server instead of the default of using the standard name resolution?

    I have a situation where we RR between half a dozen SMTP servers ( which may change over time), and we query the MX record of of some ficticous hostname to retreive the addresses.

    Any help would be appreciated.

    Thanks!

    Randall


  • 2.  RE: Using MX record to determine valid IP from DNS name?

    Broadcom Employee
    Posted Jan 26, 2007 02:28 AM
    Hi Randall,

    Are you refering to the mail.smtp.host property used for sending
    alerts via email or using the HQ DNS service to validate MX records?

    On Jan 25, 2007, at 6:14 AM, rs73803 wrote:

    > Is there a way to configure Hyperic to use the MX records of a
    > hostname to get the IP address of an SMTP server instead of the
    > default of using the standard name resolution?
    >
    > I have a situation where we RR between half a dozen SMTP servers
    > ( which may change over time), and we query the MX record of of
    > some ficticous hostname to retreive the addresses.
    >
    > Any help would be appreciated.
    >
    > Thanks!
    >
    > Randall
    >





  • 3.  RE: Using MX record to determine valid IP from DNS name?

    Posted Jan 26, 2007 02:41 PM
    I'm refering to the server.mail.host property. It looks like Hyperic is using this value to directly send SMTP messages. I was hoping it could be configured to take this value, and instead of resolving to the C, use the MX records?

    Also I wondered how Hyperic handled multiple IP addresses being returned from a DNS query for the server.mail.host property? Does it use only the first entry? Or cycle through them? If it receives more than one, and the first it tries fails is it smart enough to move to the next one?

    Thanks!


  • 4.  RE: Using MX record to determine valid IP from DNS name?

    Broadcom Employee
    Posted Jan 26, 2007 09:38 PM
    We are currently using the standard javax.mail.Transport which
    doesn't support MX record lookup as far as I know. It should be
    straight forward to implement this, I've opened an enhancement ticket
    for now:

    http://jira.hyperic.com/browse/HHQ-554

    On Jan 26, 2007, at 6:40 AM, rs73803 wrote:

    > I'm refering to the server.mail.host property. It looks like
    > Hyperic is using this value to directly send SMTP messages. I was
    > hoping it could be configured to take this value, and instead of
    > resolving to the C, use the MX records?
    >
    > Also I wondered how Hyperic handled multiple IP addresses being
    > returned from a DNS query for the server.mail.host property? Does
    > it use only the first entry? Or cycle through them? If it receives
    > more than one, and the first it tries fails is it smart enough to
    > move to the next one?
    >
    > Thanks!
    >