-
Problem report
-
Resolution: Won't fix
-
Minor
-
None
-
3.4.7
-
None
-
CentOS Linux release 7.4.1708 (Core).
Dnsmasq-2.76 as local caching DNS forwarder.
IPv6 is not used anywhere in Zabbix enviroment.
Zabbix server does not use host's interface "DNS name" correctly in AAAA DNS queries.
When "Connect to" interface parameter is "DNS" and "DNS name" is FQDN in a form of 'host.domain.tld', Zabbix first do DNS query for AAAA record with adding domain part of Zabbix server's domain as a suffix.
Example
If Zabbix server hostname is 'zabbix.dc.company.tld' and monitored host is 'web.dc.company.tld', first DNS query is AAAA and for name 'web.dc.company.tld.dc.company.tld'. After nxdomain result, Zabbix queries for A record (IPv4) with proper hostname 'web.dc.company.tld' and all goes well and unseen.
With adding trailing dot to "DNS name", eg 'web.dc.company.tld.', Zabbix performs AAAA query using only that given "DNS name".
How to reproduce
Observe query logs on DNS server (local or external) for some monitored host which is used by it's DNS name (without trailing dot).
Expected
If host's "DNS name" is FQDN (string with at least one dot in it), DNS queries should be made only for that name. No suffix should be added.