Hi,
in firewall I make use of "Aliases". It is not allowed to use an alias name with an underscore ("_" - for what reason?).
Now I created an alias which points to a hostname. Which is configured in UnboundDNS as overwrite. In Unbound, I can not create a hostname with a Hyphen ("-").
This is at least somehow confusing as I am always getting dizzy of which hostname is now the correct one.
Regarding to RFC 2181 (https://www.rfc-editor.org/rfc/rfc2181#page-13) there is no such limitation on the hostname. Hostname can have either "-" or "_".
There should be either in alias more characters be allowed or let unbound allow correct hostnames.
Any thoughts?
/KNEBB
Works here ...
Sorry,
you are right. I mixed it up. It was the other way.
No underscore in Unbound, no Hyphen in Aliases.
Sorry for confusion...
/KNEBB
Underscores are forbidden in domain names. Possibly someone implemented an overly strict check.
Well, this can be discussed. According to latest RFC (see link in first post) there are no such limitations in DNS!
[Yes, many clients and even servers still implement the "old" limitation but shouldn't we focus on the up-to-date ones?]
Still no answer why such a limitation exists in the alias tables?
/KNEBB
Thanks - seems like I need a firmware update for that part of my brain ;) Been doing DNS since BIND 4 ...