Closed k3it closed 1 year ago
Hey @k3it , hm strange. It works for me as expected (see screenshots). The php script seems to call the standard C library function gethostbyaddr
here and the address in your report has a PTR, so maybe try for debugging
$ docker exec -ti dmarc-report bash
# apk add -U bind-tools
# host 192.40.173.187
187.173.40.192.in-addr.arpa domain name pointer mailer187.gate173.rs.smtp.com.
It might be that your docker engine has specific DNS settings, which would cause this behaviour.
@gutmensch you are right, the reverse lookups are not working with the docker internal resolver pointing to 127.0.0.11, while the forward lookups are fine. this is a container running in WSL2 ubuntu. any new container has the same problem, definitely unrelated to anything in your code. Thanks for your help!
The web reports have IP addresses in the Host Name column despite
$default_hostlookup = 1; # 1=on 0=off (on is old behaviour )
setting in
/var/www/viewer/dmarcts-report-viewer-config.php
Any advice on how to enable name resolution?