[rsyslog-notify] Forum Thread: Re: Rsyslog 7.4 forwarding to an Amazon ELB - (Mode 'reply')
noreply at adiscon.com
noreply at adiscon.com
Tue Nov 10 01:07:54 CET 2015
User: dlang
Forumlink: http://kb.monitorware.com/viewtopic.php?p=26121#p26121
Message:
----------
when you do gethostbyname() it just returns an IP address, no other
information (including TTL), so there's no way for normally written client
software to know the DNS TTL. remember that there are other ways of
resolving the name that have different important info (although they are
not used as much nowdays)
so it's not as 'obviously wrong' as you are thinking :-)
Even in AWS, IP addresses don't change for no reason, they change because a
system died, or there is maintenance going on (either yours or Amazon's),
so the IP addresses really should be stable the vast majority of the time.
they reason they suggest the short TTL is nto because ti is continually
changing, but that the changes are ging to happen at times that you don't
coordinate (at least the public ones will, if you use a virtual private
cloud your ELB address should not change unless you failover to a different
availability zone)
but it seems that a config flag to resolve the name when reconnecting
rather than caching it is a good idea, could your file an issue at <!-- m
--><a class="postlink"
href="https://github.com/rsyslog/rsyslog/issues">https://github.com/rsyslog/rsyslog/issues</a><!--
m --> to explain the initial issue (and note there if rebindinterval fixes
the issue or not)
More information about the rsyslog-notify
mailing list