BUGFIX: Reverse order of domain ascii/unicode displayed (#3872)

# Issue

Consensus in https://github.com/StackExchange/dnscontrol/pull/2874 is
that the domains should be displayed as:

    xn--p1ai.com (рф.com)
This commit is contained in:
Tom Limoncelli 2025-12-02 10:47:11 -05:00 committed by GitHub
parent efa2e1e751
commit b8f2167bf9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -93,7 +93,7 @@ func (c ConsolePrinter) StartDomain(dc *models.DomainConfig) {
if dc.Name == dc.NameUnicode {
fmt.Fprintf(c.Writer, "******************** Domain: %s\n", dc.Name)
} else {
fmt.Fprintf(c.Writer, "******************** Domain: %s (%s)\n", dc.NameUnicode, dc.Name)
fmt.Fprintf(c.Writer, "******************** Domain: %s (%s)\n", dc.Name, dc.NameUnicode)
}
}