SMTP and DNS Connectivity Issues Due to Incorrect Service Policy Assignment
Applies to
- ONTAP 9
- DNS
- AutoSupport (SMTP) delivery
Issue
On one node in the cluster, SMTP and DNS connectivity fails. For example, AutoSupport SMTP delivery fails with timeout, and DNS hostnameresolution does not work from the affected node.
Example log output:
Affected Node: Cluster1-02
Cluster1::>vserver services name-service getxxbyyy*> gethostbyname-node Cluster1-02 -vserver Cluster1 -hostname smtp.company.com
Error: command failed: Failed to resolve smtp.company.com.Reason: Hostname lookup failure.
Cluster1::> system node autosupport check show -node Cluster1-02
Node: Cluster1-02
Category: http- https
Component: http-put-destination
Status: ok
Detail: Successfully connected to:
https://support.netapp.com/put/AsupPut/.
Component: http-post-destination
Status: ok
Detail:Successfully connected to:
https://support.netapp.com/asupprod/post/1.0/postAsup.
Category: smtp Component: mail-server Status: failed Detail: SMTP connectivity check failed for destination:smtp.company.com.
Error: Timeout was reached when connecting to the server 'smtp.company.com' Corrective Action: Possible network configuration issue. Ensure that you have network connectivity
Non-Affected node: Cluster1-01
Cluster1::>vserver services name-service getxxbyyy*>gethostbyname -node Cluster1-01 -vserver Cluster1 -hostname smtp.company.com
Hostname: smtp.company.com
Canonical name: smtp.company.com
IPv4: 192.168.0.33
IPv4: 192.168.0.34
