We have a cluster that is running OnTap 9.6 P2 and we have DNS servers configured:
Oriole::> dns show Name Vserver Domains Servers --------------- ----------------------------------- ---------------- Oriole omni.domain.com xxx.yyy.zzz.252, xxx.yyy.zzz.253 oriole-svm omni.domain.com xxx.yyy.zzz.252, xxx.yyy.zzz.253 2 entries were displayed. Oriole::>
We didn't realize that the cluster was configured to lookup server names, so we would run this command below before adding a server to an export policy:
Oriole::> vserver services dns hosts create -vserver oriole-svm -address 172.22.15.6 -hostname servername
When I run "dns hosts show" I see lots of entries and have a couple of questions:
1) Why would there be entries in this list for servers that do not currently (nor have ever had) an entry in our domain DNS? In the example below, that is an entry for the MPLS router at a remote office that has no entry on our DNS servers nor did we manually add it to the cluster.
Vserver Address Hostname Aliases ---------- -------------- --------------- ---------------------- oriole-svm xxx.yyy.zzz.114 mpls-rv-cl_side -
2) Why are there entries in this list that have both a "hostname" and an "Alias" when we always just added devices with a hostname? Is the cluster populating the alias field of a matching hostname based on what it finds on the DNS servers (in the code below, only the "hostname" was added to the cluster via the command above; how did the alias get populated)?
Oriole::> dns hosts show Vserver Address Hostname Aliases ---------- -------------- --------------- ---------------------- oriole-svm xxx.yyy.zzz.134 app02 app02.domain.com
3) Is there a way to automatically purge entries from the host list of servers that don't have entries in our domain DNS?