Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Alias Name vs. Host Name
« previous
next »
Print
Pages: [
1
]
Author
Topic: Alias Name vs. Host Name (Read 1041 times)
knebb
Full Member
Posts: 126
Karma: 4
Alias Name vs. Host Name
«
on:
November 22, 2023, 11:34:54 am »
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
Logged
Patrick M. Hausen
Hero Member
Posts: 6841
Karma: 574
Re: Alias Name vs. Host Name
«
Reply #1 on:
November 22, 2023, 12:04:32 pm »
Works here ...
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
knebb
Full Member
Posts: 126
Karma: 4
Re: Alias Name vs. Host Name
«
Reply #2 on:
November 22, 2023, 12:07:17 pm »
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
Logged
Patrick M. Hausen
Hero Member
Posts: 6841
Karma: 574
Re: Alias Name vs. Host Name
«
Reply #3 on:
November 22, 2023, 12:12:05 pm »
Underscores are forbidden in domain names. Possibly someone implemented an overly strict check.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
knebb
Full Member
Posts: 126
Karma: 4
Re: Alias Name vs. Host Name
«
Reply #4 on:
November 22, 2023, 12:16:25 pm »
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
Logged
Patrick M. Hausen
Hero Member
Posts: 6841
Karma: 574
Re: Alias Name vs. Host Name
«
Reply #5 on:
November 22, 2023, 12:21:39 pm »
Thanks - seems like I need a firmware update for that part of my brain
Been doing DNS since BIND 4 ...
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Alias Name vs. Host Name