I have a question regarding the "Server" parameter in the Zabbix agent configuration file. This parameter lists the IPs of the Zabbix servers allowed to connect to the agent, and it can accept an FQDN. My question is, if the FQDN has multiple "A" records in DNS, will the agent recognize and accept connections from all IPs listed under those "A" records? Or will it only accept connections from the first IP resolved when the agent starts?
For example:
In the agent configuration file, the "Server" parameter is set as follows:
My question is: will the agent accept connections from all three IPs (192.168.10.100, 101, 102), or will it only use the first one resolved (192.168.10.100) when it starts?
For example:
Code:
$dig +short zabproxy.domain.local 192.168.10.100 192.168.10.101 192.168.10.102
Code:
$ cat /etc/zabbix/zabbix_agentd.conf | grep Server Server=zabproxy.domain.local