[GH-ISSUE #3758] autoconfig/autodiscover dns checks failing for some domains. #1892

Closed
opened 2026-02-27 11:19:45 +03:00 by kerem · 1 comment
Owner

Originally created by @xinomilo on GitHub (Oct 16, 2025).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3758

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
Originally created by @xinomilo on GitHub (Oct 16, 2025). Original GitHub issue: https://github.com/modoboa/modoboa/issues/3758 # 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, <img width="681" height="97" alt="Image" src="https://github.com/user-attachments/assets/c0f7cbbd-612d-4eeb-9224-6057c2e805de" /> <img width="627" height="72" alt="Image" src="https://github.com/user-attachments/assets/08385259-9241-4ec4-b79b-f8dd2a30f417" /> <img width="759" height="139" alt="Image" src="https://github.com/user-attachments/assets/a714d87f-2567-462d-bc5f-80d30a87d9aa" /> <img width="729" height="370" alt="Image" src="https://github.com/user-attachments/assets/3a6c373a-2fef-4732-9f68-47bcce849ee7" /> <img width="1615" height="37" alt="Image" src="https://github.com/user-attachments/assets/618a3724-0d72-4fc8-aa99-81ed4c3ceab5" />
kerem closed this issue 2026-02-27 11:19:45 +03:00
Author
Owner

@tonioo commented on GitHub (Nov 13, 2025):

@xinomilo You need to create appropriate DNS Records for each domain

<!-- gh-comment-id:3528091995 --> @tonioo commented on GitHub (Nov 13, 2025): @xinomilo You need to create appropriate DNS Records for each domain
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1892
No description provided.