DocFraggle What’s the output if you use dig from inside the container? Should look like this:
Yes the content I posted in the original message is from within the watchdog container. dig works fine. check_dns gives the segfault error.
[root@delta watchdog]# docker compose exec watchdog-mailcow /bin/bash
fc042ba8c1d5:/# dig @127.0.0.11 stackoverflow.com
; <<>> DiG 9.18.19 <<>> @127.0.0.11 stackoverflow.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11654
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;stackoverflow.com. IN A;; ANSWER SECTION:
stackoverflow.com. 300 IN A 172.64.155.249
stackoverflow.com. 300 IN A 104.18.32.7;; Query time: 28 msec
;; SERVER: 127.0.0.11#53(127.0.0.11) (UDP)
;; WHEN: Wed Apr 17 16:44:40 PDT 2024
;; MSG SIZE rcvd: 78fc042ba8c1d5:/# /usr/lib/nagios/plugins/check_dns -H stackoverflow.com
Segmentation fault (core dumped)
I’m testing the keycloak functionality which is why I’m using the nightly rather than the release versions. I’m not seeing any differences between the nightly and 2024-04 branches with regards to the watchdog image or scripts. And the nagios tool doesn’t seem to create a log or have any debug or verbose output option, so I’m at a loss for how to troubleshoot it.