03-09-2018 06:49 AM - edited 03-01-2019 06:27 PM
Hi All,
I am able to set a logging hostname in my Cisco routers/switches (3xxx, 4xxx), however, this FQDN appears to be instantly resolved (translated) to the IP address sitting behind the FQDN.
When I look at the running config, the logging host is no longer the hostname, but rather the IP address that was resolved when the logging host config line was entered.
I want to ensure that syslog is sent to this FQDN rather than IP address due to DNS redundancy/fail-over configuration we have in place for these syslog collectors.
Is there a way to do this?
Example below:
Solved! Go to Solution.
03-09-2018 08:34 AM
- Well , what you can do , is if you have multiple syslog servers behind a FQDN, is to list then all 'ip-wise' in the running-config.
M.
03-09-2018 08:25 AM
- Not possible (what you want) ; probably because in a networking environment there could be circumstances that the DNS is not reachable and then the switch wants to be able to keep logging (it is designed) that way.
M.
03-09-2018 08:31 AM
That makes sense. That's unfortunate though... Thanks for the reply.
03-09-2018 08:34 AM
- Well , what you can do , is if you have multiple syslog servers behind a FQDN, is to list then all 'ip-wise' in the running-config.
M.
11-06-2024 03:17 AM - edited 11-06-2024 03:17 AM
Hi,
Let's say I have 4 syslog servers configured. If I configure syslog with FQDN it instantly translates.
If I list all four servers syslog will be send to 4 servers instead of the "active" one.
Am I right?
Thank you.
Regards
11-06-2024 03:39 AM
@ziqex Yes , but the switch won't be able to determine the active one with FQDN if it also translates to 4 addresses (UDP is a connectionless transport) ; anyway the switch can not use that methodology and it is also a security precaution to avoid sensitive information arriving at the wrong place ,
M.
11-06-2024 04:45 AM
Thank you for your reply.
I guess it is the same with Cisco routers.
11-06-2024 05:08 AM
- @ziqex wrote : I guess it is the same with Cisco routers.
Yes , it is ,
M.
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