Alias Name vs. Host Name

Started by knebb, November 22, 2023, 11:34:54 AM

Previous topic - Next topic
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 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 ...
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

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.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

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 ...
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)