AutoSupport delivery fails due to DNS - Couldn't resolve host in ONTAP 9 and earlier
Applies to
- AutoSupport
- ONTAP 9
- SMTP
- HTTP(s)
Issue
Nodes could not connect to the DNS servers and could not resolve any of the following host names.
- Support.netapp.com
- your mailhost server (if using SMTP)
- your proxy server (if configured)
Verify: (3 options)
- Run command
Autosupport history show
::>system autosupport history show
::>system autosupport history show -node <node_name> -fields node,seq-num,status,error,destination
Last Error reported :
Couldn't resolve host name.
- Testing connectivity from the command line
::> set advanced
::> system node autosupport check show-details -node node_name
::> vserver name-service dns check -vserver <name>
Example:
Category: smtp
Component: mail-server
Status: failed
Detail: SMTP connectivity check failed for destination:
mailhost. Error: Could not resolve host - 'mailhost'
Corrective Action: Check the hostname of the SMTP server
::> vserver name-service dns check -vserver netappfas01
Name Server
Vserver Name Server Status Status Details
------------- --------------- ------------ --------------------------
netappfas01 10.15.5.10 down Connection refused.
netappfas01 172.12.191.114 down Operation timed out.
2 entries were displayed.
- Review the notifyd logs.
::> node run -node (node-name) -command rdfile /etc/log/mlog/notifyd.log
Notified logs display the following errors:
Attempting to deliver ASUP using PUT)
0000001b.000723c6 04233027 Fri Feb 27 2015 02:27:01 -05:00 [kern_notifyd:info:829] (category:
829:1528:deliver) (emittime: 2/27/2015 02:27:01) (message: getaddrinfo(3) failed for
support.netapp.com:443)
0000001b.000723c7 04233027 Fri Feb 27 2015 02:27:01 -05:00 [kern_notifyd:info:829] (category:
829:1528:deliver) (emittime: 2/27/2015 02:27:01) (message: Couldn't resolve host
'support.netapp.com')
0000001b.000723c8 04233027 Fri Feb 27 2015 02:27:01 -05:00 [kern_notifyd:info:829] (category:
829:1528:deliver) (emittime: 2/27/2015 02:27:01) (message: Closing connection #0)
ERR: AutoSupport::StatusCheck:Connectivity check to HTTP PUT destination failed (Couldn't resolve host name) with root CA path: /mroot/etc/vserver_4294967295/certificates/ssl/serverCa