ONTAP Discussions

Add new Domain with existing domain on same SVM

Sumara
1,090 Views

Hi All,

I am trying to add new domain with existing domain using below command:
vserver service dns create -vserver svm1 -domains abc.com -name-server 13.2.8.4 , 13.1.5.113, 13.1.5.114  -state enabled

 

but got error stating command failed duplicate entry.

 

Please let me know if we can have 2 domains for same svm.

 

Thank you in advance for help.

 

1 ACCEPTED SOLUTION

Ontapforrum
1,069 Views

You need to use the 'modify' command:
::>vserver services dns modify -vserver <vserver> -domain <domain_name> -name-servers  <DNS_server_IP>,<DNS_server_IP>,<DNS_server_IP>


Please see this kb:
https://kb.netapp.com/onprem/ontap/da/NAS/How_to_validate_and_update_Vserver_DNS_servers_in_ONTAP

 

View solution in original post

1 REPLY 1

Ontapforrum
1,070 Views

You need to use the 'modify' command:
::>vserver services dns modify -vserver <vserver> -domain <domain_name> -name-servers  <DNS_server_IP>,<DNS_server_IP>,<DNS_server_IP>


Please see this kb:
https://kb.netapp.com/onprem/ontap/da/NAS/How_to_validate_and_update_Vserver_DNS_servers_in_ONTAP

 

Public