Subscribe
Accepted Solution

Test DNS

Hi guys,

I would like to know how can I test DNS inside Data ONTAP? I've tried 'dns' command but it didn't resolve. Data ONTAP has any command to test DNS like 'host' , 'dig' or 'nslookup' ??

I saw that Data ONTAP has 'dig' and 'host' commands inside systemshell... But my question is about how to test DNS in "normal" mode..?

Re: Test DNS

labfiler01*> priv set diag

labfiler01*> getXXbyYY gethostbyname_r nearstore.my.lan

name: nearstore.my.lan

aliases:

addresses: 1.2.3.4

labfiler01*> getXXbyYY gethostbyaddr_r 1.2.3.4

name: nearstore.my.lan

aliases:

addresses: 1.2.3.4

labfiler01*> priv set

Re: Test DNS

PLANTSTORAGE> df -g
Filesystem total       used      avail         capacity          Mounted on
/vol/Plant_FS/                                      1013GB      0GB          1013GB 0%              /vol/Plant_FS/
/vol/Plant_FS/.snapshot                  112GB        0GB          112GB         0%              /vol/Plant_FS/.snapshot

HOSTORAGE1*> df -h
Filesystem total           used          avail         capacity             Mounted on
/vol/Plant_FS_Mirror/                         1013MB      144KB         1013MB 0% /vol/Plant_FS_Mirror/
/vol/Plant_FS_Mirror/.snapshot      112MB       44KB            112MB 0%              /vol/Plant_FS_Mirror/.snapshot