cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2752
Views
0
Helpful
1
Replies

logging to hostname vs ip address

jason.aarons
Level 1
Level 1

The syslog server admin wants me to log to a dns name, not a ip address. He wants to be able to move his syslog server around.

Since IOS 10.0 it's always resolve the dns name and put in a ip address. Any idea why Cisco hardware won't log to a hostname? Same thing happens with SNMP/NTP, etc.

Cat3550-Lab(config)#logging syslog1.foo.local

Translating "syslog1.foo.local"...domain server (10.10.32.245) [OK]

Cat3550-Lab(config)#exit

Cat3550-Lab#show run | begin ip name-server

ip name-server 10.10.32.245

ip name-server 10.10.254.210

!

1 Reply 1

umedryk
Level 5
Level 5

I think it is not a problem with the Cisco IOS 10.0, it is a general feature included in the IOS.