Skip to main content
NetApp Knowledge Base

AutoSupport delivery fails due to DNS - Couldn't resolve host in ONTAP 9 and earlier

Views:
6,113
Visibility:
Public
Votes:
3
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • AutoSupport
  • ONTAP 9
  • Clustered Data ONTAP 8
  • 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)

  1. 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.

  1. Testing connectivity from the command line

::> set advanced

::> system node autosupport check show-details -node node_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

  1. 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

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device