Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Outbound Emails Queued — NXDOMAIN Error and Local DNS Resolution Issue

Outbound Emails Queued — NXDOMAIN Error and Local DNS Resolution Issue

Scheduled Pinned Locked Moved Solved Support
maildns
2 Posts 2 Posters 103 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mrhakash
    wrote on last edited by joseph
    #1

    Hello Cloudron Team and Community,

    I’m experiencing an issue with outbound email delivery from my Cloudron instance. Emails are consistently stuck in the "Queued for delivery" state, and logs indicate an NXDOMAIN error when attempting to deliver to external domains like Gmail.

    Environment Details
    Cloudron Version: 8.2.4

    OS: Ubuntu 24.04 (DigitalOcean Droplet)

    Domain: alphadot.io

    Hostname: my.alphadot.io

    PTR Record: Set correctly (IP → my.alphadot.io)

    DNS: Managed via Cloudflare

    Dynamic DNS: Enabled

    Port 25: Blocked by DigitalOcean (planning to use SMTP relay)

    Observed Behavior
    Outgoing emails remain in the queue.

    JSON mail logs include:

    "host": "NXDOMAIN",
    "info": "NXDOMAIN"

    dig @127.0.0.1 gmail.com mx returns:

    connection refused

    Troubleshooting Attempts
    Verified unbound.service is active.

    /etc/resolv.conf points to 127.0.0.1

    Unbound config (/etc/unbound/unbound.conf.d/cloudron-network.conf) includes:

    yaml
    Copy
    Edit
    server:
    interface: 127.0.0.1
    access-control: 127.0.0.0/8 allow
    Restarted Unbound and rechecked logs.

    ss -tulnp | grep :53 shows nothing listening on 127.0.0.1:53

    No firewall is currently applied to the droplet.

    Request for Guidance
    I’d greatly appreciate help understanding why local DNS resolution isn’t functioning properly in this setup. I’m unsure whether Unbound is misconfigured, failing to bind correctly, or if there's a conflict with systemd-resolved or Cloudron’s internal DNS handling.

    Any suggestions or recommended checks would be very helpful. Happy to provide further logs or details if needed.

    Thank you in advance.

    J 1 Reply Last reply
    1
    • M mrhakash

      Hello Cloudron Team and Community,

      I’m experiencing an issue with outbound email delivery from my Cloudron instance. Emails are consistently stuck in the "Queued for delivery" state, and logs indicate an NXDOMAIN error when attempting to deliver to external domains like Gmail.

      Environment Details
      Cloudron Version: 8.2.4

      OS: Ubuntu 24.04 (DigitalOcean Droplet)

      Domain: alphadot.io

      Hostname: my.alphadot.io

      PTR Record: Set correctly (IP → my.alphadot.io)

      DNS: Managed via Cloudflare

      Dynamic DNS: Enabled

      Port 25: Blocked by DigitalOcean (planning to use SMTP relay)

      Observed Behavior
      Outgoing emails remain in the queue.

      JSON mail logs include:

      "host": "NXDOMAIN",
      "info": "NXDOMAIN"

      dig @127.0.0.1 gmail.com mx returns:

      connection refused

      Troubleshooting Attempts
      Verified unbound.service is active.

      /etc/resolv.conf points to 127.0.0.1

      Unbound config (/etc/unbound/unbound.conf.d/cloudron-network.conf) includes:

      yaml
      Copy
      Edit
      server:
      interface: 127.0.0.1
      access-control: 127.0.0.0/8 allow
      Restarted Unbound and rechecked logs.

      ss -tulnp | grep :53 shows nothing listening on 127.0.0.1:53

      No firewall is currently applied to the droplet.

      Request for Guidance
      I’d greatly appreciate help understanding why local DNS resolution isn’t functioning properly in this setup. I’m unsure whether Unbound is misconfigured, failing to bind correctly, or if there's a conflict with systemd-resolved or Cloudron’s internal DNS handling.

      Any suggestions or recommended checks would be very helpful. Happy to provide further logs or details if needed.

      Thank you in advance.

      J Offline
      J Offline
      joseph
      Staff
      wrote on last edited by
      #2

      @mrhakash said in Outbound Emails Queued — NXDOMAIN Error and Local DNS Resolution Issue:

      dig @127.0.0.1 gmail.com mx returns:

      connection refused

      You have to check host -t MX gmail.com 127.0.0.150 . Can you also run cloudron-support --troubleshoot for hints?

      1 Reply Last reply
      0
      • J joseph marked this topic as a question on
      • J joseph has marked this topic as solved
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Bookmarks
      • Search