<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Autosupport SMTP server Configuring - one hostname returns many addresses in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Autosupport-SMTP-server-Configuring-one-hostname-returns-many-addresses/m-p/134620#M29506</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have configured my autosupport SMTP Mail Host to use "smtphost" which is what the email team told me to use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I type nslookup smtphost I get a list of eight IP addresses returned, each belongs to a different server and the servers are split across 2 sites. I imagine this is a common setup in a large company. One or two of these servers seem to be less reliable than the others. I sometimes get that wacky&amp;nbsp;&lt;A title="alexdawson.net - autosupport-stopped-working" href="https://alexdawson.net/2014/08/autosupport-stopped-working/" target="_blank"&gt;FTP: weird server reply&lt;/A&gt;&amp;nbsp;but the autosupport will go eventually. I suppose on the retry it will get a good SMTP server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't want to use a list of IP addresses for the SMTP Mail Host because they might change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;autosupport modify -node * -mail-hosts smtphost,smtphost,smtphost,smtphost,smtphost&lt;/PRE&gt;&lt;P&gt;Will that result in five lookups and 5 IP addresses being passed into the autosupport process allowing it to find a working server faster?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would that work for NTP as well if the NTPHOST returned a list also?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 14:35:00 GMT</pubDate>
    <dc:creator>richard_mackerras</dc:creator>
    <dc:date>2025-06-04T14:35:00Z</dc:date>
    <item>
      <title>Autosupport SMTP server Configuring - one hostname returns many addresses</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Autosupport-SMTP-server-Configuring-one-hostname-returns-many-addresses/m-p/134620#M29506</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have configured my autosupport SMTP Mail Host to use "smtphost" which is what the email team told me to use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I type nslookup smtphost I get a list of eight IP addresses returned, each belongs to a different server and the servers are split across 2 sites. I imagine this is a common setup in a large company. One or two of these servers seem to be less reliable than the others. I sometimes get that wacky&amp;nbsp;&lt;A title="alexdawson.net - autosupport-stopped-working" href="https://alexdawson.net/2014/08/autosupport-stopped-working/" target="_blank"&gt;FTP: weird server reply&lt;/A&gt;&amp;nbsp;but the autosupport will go eventually. I suppose on the retry it will get a good SMTP server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't want to use a list of IP addresses for the SMTP Mail Host because they might change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;autosupport modify -node * -mail-hosts smtphost,smtphost,smtphost,smtphost,smtphost&lt;/PRE&gt;&lt;P&gt;Will that result in five lookups and 5 IP addresses being passed into the autosupport process allowing it to find a working server faster?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would that work for NTP as well if the NTPHOST returned a list also?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:35:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Autosupport-SMTP-server-Configuring-one-hostname-returns-many-addresses/m-p/134620#M29506</guid>
      <dc:creator>richard_mackerras</dc:creator>
      <dc:date>2025-06-04T14:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Autosupport SMTP server Configuring - one hostname returns many addresses</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Autosupport-SMTP-server-Configuring-one-hostname-returns-many-addresses/m-p/135115#M29637</link>
      <description>&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You sure brought up a brain-teaser…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After some discussion with colleagues, listing the mailhost name multiple times in the AutoSupport configuration &lt;STRONG&gt;might&lt;/STRONG&gt; speed things up, if:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;DNS resolution round-robins multiple SMTP server IP addresses&lt;/LI&gt;&lt;LI&gt;The connection errors out immediately (e.g. 421 Service Not Available)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is because an immediate connection failure results in the AutoSupport daemon moving on to the next configured SMTP server entry, immediately.&amp;nbsp; Otherwise, the AutoSupport retry logic kicks in, where (by default) retries are attempted every 4 minutes, 15 times.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 00:04:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Autosupport-SMTP-server-Configuring-one-hostname-returns-many-addresses/m-p/135115#M29637</guid>
      <dc:creator>andris</dc:creator>
      <dc:date>2017-10-10T00:04:39Z</dc:date>
    </item>
  </channel>
</rss>

