cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
95680
Views
81
Helpful
18
Replies

[CUCM] Change DNS server IP

Hello,

How can I change the DNS server IP on the CUCM? Can i change it over the Web Gui ?

Regards,

Fird

 

18 Replies 18

Mohammed Khan
Cisco Employee
Cisco Employee

you cannot change DNS IP thru GUI, CLI is the only option

Refer below command

set network dns

This command sets the IP address for the primary or secondary DNS server.

Command syntax

set network dns { primary | secondary } ip-address

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/cli_ref/8_6_1/cli_ref_861.html#pgfId-39980

Hi Mohammed,

Thanks.

What i need to do in case to change the DNS ?

set network dns primary 4.2.2.2

Command will overwrite the existing DNS Server IP.

Do i need to reboot the CUCM service?

Reboot is not required,

this command causes a temporary loss of network connectivity. If you change the IP address of the DNS server, you must restart Cisco Tomcat.

Does this mess around with the license side of things? DNS change should be pretty straight forward right? 

Only if you're running 8.x and below it would change the licenses.

HTH

java

if this helps, please rate

Hi Jamie,

Do you know if we have to restart all services or just tomcat?

We simply want to point our Cucm10x to a new internal DNS server.

Thanks Adam

Gordon Ross
Level 9
Level 9

Changing the DNS settings may cause the server to reboot. It will also affect the license MAC that licenses are tied to.

GTG

Please rate all helpful posts.

Im talking about changing the DNS of the interface of call manager. I don't understand how that would be tied into licensing? I would have thought it was just using DNS to resolve other servers in the cluster. 

Example:

 

admin:show network eth0
Ethernet 0

DHCP : disabled Status : up
IP Address : 1xx.xx.1.x IP Mask : 255.255.255.000
Link Detected: yes Mode : Auto disabled, Full, 1000 Mbits/s
Duplicate IP : no

DNS
Primary : 1.1.1.1 Secondary : 2.2.2.2    ( I JUST WANT TO CHANGE THESE)
Options : timeout:5 attempts:2
Domain : adam.com.au
Gateway : 1xx.xx.1.1 on Ethernet 0

 

Do i only need to restart Tomcat for this? 

 

Cheers

Adam

 

Just found a customer that never set it on some subs and was doing research but yes it will interfer with licensing per cisco documentation below.  I believe this is only 8.x but not 100%.

 

Usage Guidelines

If Cisco Unified Communications Manager or Cisco Unity Connection is installed on VMware, the set network dns primary command changes the calculated value of the license MAC and invalidates the Unified CM or Connection license.

For more information about replacement Unified CM licenses, see the section “Obtaining Rehosted Licenses When You Change License MAC Parameters” in the Installing Cisco Unified Communications Manager Release 8.0(2) guide at http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/install/8_0_2/install/cmins802.html#wp524389.

For information about replacement Connection licenses, see the “Managing Licenses in Cisco Unity Connection” chapter of the System Administration Guide for Cisco Unity Connection at http://www.cisco.com/en/US/products/ps6509/prod_maintenance_guides_list.html .

Hi Adam,

 

do I need to remove and add PLM instance instance and reboot cluster for this DNS IP address change?

I am using CUCM 10.5 version 

 

"DNS
Primary : 1.1.1.1 Secondary : 2.2.2.2    ( I JUST WANT TO CHANGE THESE)
Options : timeout:5 attempts:2
Domain : adam.com.au
Gateway : 1xx.xx.1.1 on Ethernet 0"

 

 

Please confirm!!!

 

Thanks,

Ganesh

You only need to add/remove the PLM instance if the IP Address and/or hostname changed on the server it is referencing.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: