DNS create fails due to lack of network reachability
Applies to
- ONTAP 9
- DNS
Issue
- The command
dns create
fails with the following error:
::> vserver services name-service dns create -vserver svm1 -domains domain1.local -name-servers 10.xx.xx.20
Error: command failed: Failed to verify the specified DNS configuration.
10.xx.xx.20: No route to host.
Verify that the network configuration is correct and that DNS servers are available. Specify "-skip-config-valid ation" to skip the configuration validation.
- DNS Check fails ( If DNS CREATE with -skip-config-validation was already run)
::> dns check -vserver hnasbond007 (svm)
Name Server
Vserver Name Server Status Status Details
------------- --------------- ------------ --------------------------
svm1 10.xx.xx.20 down Network is unreachable.
- Ping to the DNS IP fails:
::> network ping -lif lif1 -vserver svm1 -destination 10.xx.xx.20
no answer from 10.xx.xx.20