Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Using host name instead of IP address

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.

2 REPLIES
Gold

Re: Using host name instead of IP address

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

New Member

Re: Using host name instead of IP address

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

200
Views
0
Helpful
2
Replies
CreatePlease to create content