ONTAP Discussions

Not able to change DNS service entry for domain change.

Ajaykums
2,542 Views

I tried running the below command :

 

vserver services name-service dns modify -vserver SVM -domains FQDN -name-servers SERVER-IP

 

But received an error as a duplicate entry, please suggest how to proceed further, thank you. 

1 ACCEPTED SOLUTION

Ontapforrum
2,506 Views

If it's Production Server, then it has to be done with all considerations. Please don't delete it. 

 

Query: Are you trying to update the DNS entries for the existing DOMAIN, or simply change the DOMAIN itself ?

 

How to validate and update Vserver DNS servers in ONTAP: (Try this command - "vserver services dns modify")
https://kb.netapp.com/onprem/ontap/da/NAS/How_to_validate_and_update_Vserver_DNS_servers_in_ONTAP

 

View solution in original post

7 REPLIES 7

Ontapforrum
2,514 Views

Please check this kb:
Modifying CIFS server domain fails with error "Reason: Failed to create a domain entry for "DOMAIN". Reason: duplicate entry."
https://kb.netapp.com/onprem/ontap/da/NAS/Modifying_CIFS_server_domain_fails_with_error_%22Reason%3A_Failed_to_create_a_domain_entry_for_%22DOMAIN%22....

 


Also, check this:
https://mysupport.netapp.com/site/bugs-online/product/ONTAP/BURT/649007

 

Ajaykums
2,509 Views

Thank you for a response here I have referred the same KB mentioned.

 

Gone through that KB which you shared. In work around it is mentioned Delete CIFS server and clean up all the stale local user and group entries for the vserver and re-create CIFS server with new domain.

Ajaykums
2,509 Views

since it is in production. Please suggest if there  is  alternate option without impacting the production, thank you.

Ontapforrum
2,507 Views

If it's Production Server, then it has to be done with all considerations. Please don't delete it. 

 

Query: Are you trying to update the DNS entries for the existing DOMAIN, or simply change the DOMAIN itself ?

 

How to validate and update Vserver DNS servers in ONTAP: (Try this command - "vserver services dns modify")
https://kb.netapp.com/onprem/ontap/da/NAS/How_to_validate_and_update_Vserver_DNS_servers_in_ONTAP

 

Ajaykums
2,490 Views

in this production I was trying to update a domain using create command instead of modify eg below:

Ajaykums_0-1682072479990.png

 

Ajaykums
2,488 Views

It was throwing error duplicate entry.

Just wanted to know if i modify domain using below command :
vserver services name-service dns  modify -vserver <vserver> -domain <domain_name> -name-servers <DNS_server_IP>,<DNS_server_IP>,<DNS_server_IP>

will above command to change domain name will be disruptive.

Thank you for KB article and explanation.

Ontapforrum
2,481 Views

Yes, indeed. Updating DNS addresses is one thing but changing DOMAIN will require closing down the CIFS Service.

 

What is the impact of modifying the domain of a CIFS server?
Modifying the domain of the CIFS server requires that the CIFS service on the SVM be set to administratively down (closing all CIFS connections)

 

KBs:
https://kb.netapp.com/onprem/ontap/da/NAS/What_is_the_impact_of_modifying_or_deleting_or_recreating_a_cifs_server_on_ONTAP
https://docs.netapp.com/us-en/ontap-cli-96/vserver-cifs-modify.html#examples

Public