Skip to content

autoconfig/autodiscover dns checks failing for some domains. #3758

@xinomilo

Description

@xinomilo

Impacted versions

  • OS Type: Debian
  • OS Version: 12
  • Database Type: MariaDB
  • Database version: 10.11
  • Modoboa: 2.6.0
  • installer used: No
  • Webserver: Nginx

Steps to reproduce

since modoboa 2.6.0 added builtin autoconfig/autodiscover , we enabled the option "enable autoconfig checks" to check for these records validity too.
but for some domains (5 out of 9 total, various tlds), these records show as missing, when they're there in reality.

maybe this works differently now (in 2.6.0+) and we need to put different records for autoconfig records?
eg. autoconfig.otherdomain CNAME autoconfig.maindomain ? (only autoconfig.maindomain is in ALLOWED_HOSTS).

Current behavior

( modoboa settings/checks in screenshots)

looking up records from within modoboa host (same localhost nameserver - unbound) :
➜ ~ dig autodiscover.stinpriza.eu

; <<>> DiG 9.20.11-4~bpo12+1-Debian <<>> autodiscover.stinpriza.eu
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61413
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;autodiscover.stinpriza.eu. IN A

;; ANSWER SECTION:
autodiscover.stinpriza.eu. 2525 IN CNAME stinpriza.net.
stinpriza.net. 3581 IN A 5.9.122.184

;; Query time: 4 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
;; WHEN: Thu Oct 16 15:59:04 EEST 2025
;; MSG SIZE rcvd: 97

➜ ~ dig autoconfig.stinpriza.eu

; <<>> DiG 9.20.11-4~bpo12+1-Debian <<>> autoconfig.stinpriza.eu
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18306
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;autoconfig.stinpriza.eu. IN A

;; ANSWER SECTION:
autoconfig.stinpriza.eu. 2202 IN CNAME stinpriza.net.
stinpriza.net. 3258 IN A 5.9.122.184

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
;; WHEN: Thu Oct 16 16:04:27 EEST 2025
;; MSG SIZE rcvd: 95

Expected behavior

autoconfig checks work and report success.

thanks in advance,

Image Image Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions