09-24-2002 04:33 AM - edited 03-02-2019 01:35 AM
Hi,
When using command such as "ntp server", "snmp-server host" or "radius-server host" with the DNS name to specify the host, IOS seems to perform an automatic DNS lookup and places the resolved IP address in the configuration file.
In order to perform a network migration, we want to permform change on the DNS without changing all the equipment configuration file with IP address for NTP, SNMP or Radius server.
Do you know how force IOS to record the hostname witout doing static DNS lookup in the configuration file?
The "no ip domain-lookup" command cannot do this, as I want to use DNS.
Thank you for any useful assistance
Regards,
Patrick.
09-26-2002 04:32 AM
There's no way to do this as far as I know.... You could save off the config in a tftp server, and reload it to the router when you do a migration, so it would be forced to re-resolve.
Russ
09-26-2002 08:34 AM
To expand on the last answer, see if you can place the names in the startup config by tftp. Then, every time the router boots, the config will resolve the names again. I have never tried this, but its worth a try.
The down side of this is you can't save changes to the config without re-tftping the config to the router with the updated info.
HTH
Doug
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