11-13-2025 09:59 AM
Hi Everyone
We are in ISE 3.3 version. Is it possible to remove all DNS servers with single 'no ip name server dns ip 1 dns ip2 dns ip3' or do we need to remove DNS IPs one by one?
Can we remove all 3 with single no command and add 3 IPs again with another ip name server command? with a total services restart of 2.
current order - IP1, IP2, IP3
new order - IP4, IP5, IP2
11-13-2025 01:22 PM - edited 11-13-2025 01:51 PM
The CLI is not very clear what will happen when you enter " ip name-server x.x.x.x" - does it append, does it replace? The show run won't show you the effect of the command you just entered. You only see the effect once you restart services. It's not ideal.
One thing is clear - you can't delete them all at once.
Do you want to restart ISE now?
Proceed? [yes,no] yes
% Error: Atleast one DNS name-server must be configured
What happens, is that the IP addresses that you configure, are appending to the existing IP addresses. Therefore you have to play a little "sliding puzzle" game to shuffle the IP addresses around until you have the desired order.
In your case, you must first remove IP3 and IP1 - leaving IP2 in place.
no ip name-server IP3 IP1 <restart = yes and wait for the restart to complete>
ip name-server IP4, IP5 <restart = yes and wait for the restart to complete>
no ip name-server IP2 <restart = yes and wait for the restart to complete>
ip name-server IP2 <restart = yes and wait for the restart to complete>
I found that you can open another session and see the effect of your config commands while ISE is restarting in the other window - but you can't make any config changes while processes are restarting
the configuration database is locked by session 59876 admin ssh (cli from 172.22.131.186) on since 2025-11-14 06:49:59
I can't find any better way of doing this to reduce the number of restarts.
11-13-2025 01:47 PM
The other option is to use the 'reset-config' command from the console (executing this command from an SSH session will throw an error). You can make all the changes needed in the wizard and it will trigger a single restart of the app server.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide