-
Problem report
-
Resolution: Won't fix
-
Trivial
-
None
-
7.0.9, 7.2.3
-
Ubuntu 22.04, FreeBSD 14.2-RELEASE-p1
Steps to reproduce:
- Deploy Zabbix Agent 2 version 7.0.9 or 7.2.3 on an Ubuntu 22.04 machine or Agent 7.0.9 on a FreeBSD 14.2-RELEASE-p1 machine.
- In the Agent conf file, configure Server and ServerActive as a CNAME of the Zabbix Server.
- The Zabbix Agent (2) service will generate multiple DNS requests for the IP of the Zabbix Server every second. Stopping the Zabbix Agent (2) service will stop the requests.
Result:
> tcpdump -n "port 53"
19:58:31.457813 IP 192.168.0.1.45148 > 192.168.0.2: 54418+ [1au] A? fancy-cname.example.com. (60)
19:58:31.457947 IP 192.168.0.2 > 192.168.0.1.45148: 54418* 2/7/8 CNAME actual-hostname.example.com., A 192.168.0.3 (433)
19:58:31.458040 IP 192.168.0.1.40290 > 192.168.0.2: 39271+ [1au] AAAA? fancy-cname.example.com. (60)
19:58:31.458132 IP 192.168.0.2 > 192.168.0.1.40290: 39271* 1/1/1 CNAME actual-hostname.example.com. (159)
19:58:31.458920 IP 192.168.0.1.41837 > 192.168.0.2: 21932+ [1au] A? fancy-cname.example.com. (60)
19:58:31.459122 IP 192.168.0.2 > 192.168.0.1.41837: 21932* 2/7/8 CNAME actual-hostname.example.com., A 192.168.0.3 (433)
19:58:31.459239 IP 192.168.0.1.42527 > 192.168.0.2: 31497+ [1au] AAAA? fancy-cname.example.com. (60)
19:58:31.459392 IP 192.168.0.2 > 192.168.0.1.42527: 31497* 1/1/1 CNAME actual-hostname.example.com. (159)
19:58:32.460100 IP 192.168.0.1.43292 > 192.168.0.2: 6637+ [1au] A? fancy-cname.example.com. (60)
19:58:32.460316 IP 192.168.0.2 > 192.168.0.1.43292: 6637* 2/7/8 CNAME actual-hostname.example.com., A 192.168.0.3 (433)
19:58:32.460445 IP 192.168.0.1.38815 > 192.168.0.2: 11645+ [1au] AAAA? fancy-cname.example.com. (60)
19:58:32.460656 IP 192.168.0.2 > 192.168.0.1.38815: 11645* 1/1/1 CNAME actual-hostname.example.com. (159)
19:58:32.460895 IP 192.168.0.1.37666 > 192.168.0.2: 37418+ [1au] A? fancy-cname.example.com. (60)
19:58:32.461085 IP 192.168.0.2 > 192.168.0.1.37666: 37418* 2/7/8 CNAME actual-hostname.example.com., A 192.168.0.3 (433)
19:58:32.461192 IP 192.168.0.1.51191 > 192.168.0.2: 28354+ [1au] AAAA? fancy-cname.example.com. (60)
19:58:32.461402 IP 192.168.0.2 > 192.168.0.1.51191: 28354* 1/1/1 CNAME actual-hostname.example.com. (159)
```
Expected: A reasonable number of DNS requests would be sent, and/or the results would be cached.