FWIW, we use FQDN to forward messages, but whenever our campus DNS servers experience issues our clients will backup and Nagios will start screaming about stuck items in the forward queue.
IP Address appear to make a more resilient forwarding target. In our case we had good success with migrating a central receiver between subnets (i.e., IP change) and the clients picked up the change. I don't know whether this is because the receiver was down for a sufficient amount of time to force disconnect/reconnect behavior on the clients or if it's because we used the newer configuration format where you configure forwarding as an "action". To further stir mud in the water we are also using RELP, so that could have a bearing. I recall seeing on the list somewhere some discussion about load-balancers and how forced disconnections can be used to switch targets. I might be thinking of forwarding into elasticsearch, so take that for what it's worth. -----Original Message----- From: rsyslog <[email protected]> On Behalf Of Marki via rsyslog Sent: Tuesday, October 15, 2019 11:31 AM To: [email protected] Cc: Marki <[email protected]> Subject: [rsyslog] Hostname resolution updates (remote logging) not picked up Hey, When using remote logging (*.* @syslog.example.com) "syslog" is an alias (CNAME with low TTL) in our DNS, like all service names. Now it seems when we change this alias' destination in DNS, the change is never picked up. Not even on reload, only on restart. On reload would at least make it use the new IP address after logrotation for example. I don't even think it's about rsyslog. Seems to be how all syslog implementations usually behave. But it is still a topic of discussion: Are people just not using hostnames? I understand that for example on network equipment you would rather hardcode IPs than use hostnames. But what do you do on the servers? Is there a best practice with valid reasons why it should be done that way? What do you think? Cheers. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

