ONTAP Discussions

Test DNS

RAFAEL_GUEDES
14,659 Views

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

1 ACCEPTED SOLUTION

thomas_glodde
14,524 Views

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

View solution in original post

1 REPLY 1

thomas_glodde
14,525 Views

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

Public