Hi,
I find an error when I test the dns in the DOMINI menu, after a long time on all the records it appears to me: 0: php_network_getaddresses: getaddrinfo failed: Try again
what can i check?
thank you very much

  • diekuh

    • Community Hero
    • volunteer
    Moolevel 110

I think you have a NAT reflection problem. Are you using pfSense/OPNsense in front of mailcow?

It is probably not able to connect to “itself” via public IP.

    Have something to say?

    Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

    hi no I don’t use pfSense / OPNsense, but I’m in nat.
    this thing, however, has been happening for a few days and has not always done so and nothing has been changed on the router (mikrotik).
    But along with this, a problem with the acme container also happened, which was then solved, here you can see the issue mailcow/mailcow-dockerized3588
    thanks for the quick response

    3 years later

    diekuh I have the same problem and use OPNsense. Ports are released and DNS entries are also correct, but the error message still remains. do you have a tip for me?

    regards
    Sakis

    Did you check the firewall requirements are all done properly?
    https://docs.mailcow.email/prerequisite/prerequisite-system/#firewall-ports


    Read it until the end, if you are on a VPS.

    Check if reflexive NAT rules are set up.
    And please check log files. Is something not working besides that DNS check in the GUI?

    a month later

    yes, here is the output.
    # ss -tlpn | grep -E -w '25|80|110|143|443|465|587|993|995|4190'
    LISTEN 0 4096 127.0.0.1:37353 0.0.0.0:* users:(("containerd",pid=110,fd=8))
    LISTEN 0 4096 0.0.0.0:587 0.0.0.0:* users:(("docker-proxy",pid=201309,fd=4))
    LISTEN 0 4096 0.0.0.0:993 0.0.0.0:* users:(("docker-proxy",pid=217750,fd=4))
    LISTEN 0 4096 0.0.0.0:995 0.0.0.0:* users:(("docker-proxy",pid=217723,fd=4))
    LISTEN 0 4096 0.0.0.0:143 0.0.0.0:* users:(("docker-proxy",pid=217772,fd=4))
    LISTEN 0 4096 0.0.0.0:25 0.0.0.0:* users:(("docker-proxy",pid=201388,fd=4))
    LISTEN 0 4096 0.0.0.0:110 0.0.0.0:* users:(("docker-proxy",pid=217794,fd=4))
    LISTEN 0 4096 0.0.0.0:4190 0.0.0.0:* users:(("docker-proxy",pid=217695,fd=4))
    LISTEN 0 4096 0.0.0.0:465 0.0.0.0:* users:(("docker-proxy",pid=201349,fd=4))
    LISTEN 0 4096 [::]:587 [::]:* users:(("docker-proxy",pid=201316,fd=4))
    LISTEN 0 4096 [::]:993 [::]:* users:(("docker-proxy",pid=217759,fd=4))
    LISTEN 0 4096 [::]:995 [::]:* users:(("docker-proxy",pid=217731,fd=4))
    LISTEN 0 4096 [::]:143 [::]:* users:(("docker-proxy",pid=217778,fd=4))
    LISTEN 0 4096 [::]:25 [::]:* users:(("docker-proxy",pid=201395,fd=4))
    LISTEN 0 4096 [::]:110 [::]:* users:(("docker-proxy",pid=217802,fd=4))
    LISTEN 0 4096 [::]:4190 [::]:* users:(("docker-proxy",pid=217703,fd=4))
    LISTEN 0 4096 [::]:465 [::]:* users:(("docker-proxy",pid=201356,fd=4))

    Check if reflexive NAT rules are set up.

    how and where can I check this?

    greetings
    sakis

    8 months later

    My friend, your ports are not open

    No one is typing