mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 09:54:40 +03:00
give more helpful pointers for dns-related settings
in quickstart, add troubleshooting hints. in suggested dns records, explain the multiline long dkim record should probably be converted into a single string. the quickstart output is quite long already. i'm hoping for a "mox setup" in the future where we help a user step-by-step to a fully working system. we'll have more space to prevent hints and check the settings after a user made changes. it's on the roadmap. based on issues #158 and #164, thanks vipas84 and RobSlgm for reporting and discussion.
This commit is contained in:
@ -803,7 +803,9 @@ func DomainRecords(domConf config.Domain, domain dns.Domain, hasDNSSEC bool, cer
|
||||
|
||||
if len(txt) > 100 {
|
||||
records = append(records,
|
||||
"; NOTE: The following strings must be added to DNS as single record.",
|
||||
"; NOTE: The following is a single long record split over several lines for use",
|
||||
"; in zone files. When adding through a DNS operator web interface, combine the",
|
||||
"; strings into a single string, without ().",
|
||||
)
|
||||
}
|
||||
s := fmt.Sprintf("%s._domainkey.%s. TXT %s", name, d, TXTStrings(txt))
|
||||
|
Reference in New Issue
Block a user