Matus,

What do you mean with " absolutely no, but since underscore is not valid in 
hostname as per rfc1123, I don't recomment you to use it in hostnamed" ?

I tried with the following configuration in zone " dekil.nl " and bind do not 
accept it:


hello_mail2.dekil.nl.         3600    IN      A       81.246.48.28

I have the following message error:

Feb 17 10:40:41 dnszone904 named[1633]: /etc/bind/zones/master/dekil.nl:19: 
hello_mail2.dekil.nl: bad owner name (check-names)
Feb 17 10:40:41 dnszone904 named[1633]: zone dekil.nl/IN: loading from master 
file /etc/bind/zones/master/dekil.nl failed: bad owner name (check-names)
Feb 17 10:40:41 dnszone904 named[1633]: zone dekil.nl/IN: not loaded due to 
errors.


Sensitivity: Internal Use Only

-----Original Message-----
From: bind-users <bind-users-boun...@lists.isc.org> On Behalf Of Matus UHLAR - 
fantomas
Sent: 17 February 2021 09:53
To: bind-users@lists.isc.org
Subject: Re: underscore in A or PTR records

On 17.02.21 08:13, ONRUBIA AVILES Carlos (CCS/MST) wrote:
>I face the following problem  ==> bind do not accept an A record with 
>underscore:
>
>Example:     example_try   A    1.2.3.4
>
>
>Same for a PTR:
>
>Example:   1.2.3.4   PTR   example_try
>
>
>Is it absolutely forbidden to have in such cases an '_'?

absolutely no, but since underscore is not valid in hostname as per rfc1123, I 
don't recomment you to use it in hostnamed.

>I know that it is possible for SRV or TXT records.

it's valid in DNS, but not in hostnames.  You can in fact disable checking but 
you may encounter problems with remote sites.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.fantomas.sk%2F&amp;data=04%7C01%7Ccarlos.onrubia.aviles%40proximus.com%7Ce40888443de343c66a9408d8d3218eb1%7Ce7ab81b21e844bf79dcbb6fec01ed138%7C0%7C0%7C637491488366965000%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=KzvQWs%2BuNEwQvNH2rKKOreQlm2YhJfYYPrssbqswhV4%3D&amp;reserved=0
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux IS user friendly, it's just selective who its friends are...
_______________________________________________
Please visit 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fbind-users&amp;data=04%7C01%7Ccarlos.onrubia.aviles%40proximus.com%7Ce40888443de343c66a9408d8d3218eb1%7Ce7ab81b21e844bf79dcbb6fec01ed138%7C0%7C0%7C637491488366965000%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=glCh5z35uLUmPPW86kRaScRn4ZhytXWLO4BewiR3H7Q%3D&amp;reserved=0
 to unsubscribe from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.isc.org%2Fcontact%2F&amp;data=04%7C01%7Ccarlos.onrubia.aviles%40proximus.com%7Ce40888443de343c66a9408d8d3218eb1%7Ce7ab81b21e844bf79dcbb6fec01ed138%7C0%7C0%7C637491488366969979%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=qQ7VCy6Gav8js8yeMQVEL1XgzW4hAscFrulvYjfK8Gc%3D&amp;reserved=0
 for more information.


bind-users mailing list
bind-users@lists.isc.org
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fbind-users&amp;data=04%7C01%7Ccarlos.onrubia.aviles%40proximus.com%7Ce40888443de343c66a9408d8d3218eb1%7Ce7ab81b21e844bf79dcbb6fec01ed138%7C0%7C0%7C637491488366969979%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=cV83jmF%2BfQ2vNyNhHvV9%2F%2Ff8GX6FS63712vB7M3X2bA%3D&amp;reserved=0
This e-mail cannot be used for other purposes than Proximus business use. See 
more on https://www.proximus.be/maildisclaimer
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to