Description of problem:
I have a IPv4/IPv6 network. As such many domain names have both A and AAAA
records. DNS works forward and reverse for all of these things.
Zabbix will accept Server=FQDN. It some times works, some times doesn't. I do
not know but it seems that it resolves to just one of the entries and then only
accepts from that entry. Instead, it should create it's own comma separated
list and accept connections from anything where forward <=> reverse DNS is
true.
This should work according the 1.8 documentation online, but it is NOT
working in my case.
Version-Release number of selected component (if applicable):
zabbix-1.8.5-3.fc15.x86_64
Additional info:
Server FQDN has one A and two AAAA records.
Interestingly enough, while other hosts work sporadically (whether the resolved
Server= line matches the ip address used by zabbix to contact the agents or
not), it NEVER works for the localhost.
Attached patch should fix the problem (tested as working here and solving all problems mentioned here and in https://bugzilla.redhat.com/show_bug.cgi?id=712833). If possible, please include this in a 1.8.x release so that Fedora will pick this up for F15.
Thank you.
- is duplicated by
-
ZBX-6591 Server config variable as DNS hostname in mixed ipv4 and ipv6 network breaks dual stack
- Closed