Thank you so much for the detailed explanation! Wish you all a great weekend.
Kind regards David Carvalho -----Original Message----- From: Mark Andrews <ma...@isc.org> Sent: 21 November 2024 22:23 To: David Carvalho <da...@di.ubi.pt> Cc: bind-users <bind-users@lists.isc.org> Subject: Re: Simple question - trailing "." in zone file The final period is a way of differentiating relative and absolute domain names. In zone files there is the $ORIGIN value (defaults to the zone name) that names are relative to. This is there to reduce the amount of typing people have to do when entering records. To enter a name that doesn’t end in $ORIGIN the final period is necessary. In named.conf all the domain names are absolute so the final period is unnecessary. For systems that have a search list adding a final period disables the search list. When communicating between systems domain names are absolute. i.e. SMTP doesn’t have the concept of relative names and does not use the final period. When names are looked up in the DNS they are always absolute and are sent as series of length (one byte) value pairs ending in a 00 byte. (example.com is sent as 7 ‘e’ ‘x’ ‘a’ ‘m’ ‘p’ ‘l’ ‘e’ 3 ‘c’ ‘o’ ‘m’ 0) Mark > On 22 Nov 2024, at 04:44, David Carvalho via bind-users > <bind-users@lists.isc.org> wrote: > > Hi! > Sorry for this “beginner” question. If I knew this before, than I completely > forgot. > I know a “.” Inside a zone file can be used to define top level entry .If a > record entry doesn’t have it, it gets itself along with the domain name. > Today I was comparing my master and slave, which provide the same responses, > but I noticed a difference. > Master named.conf > Zone “ip.address.in-addr.arpa.”, > Zone “my.domain.” > Slave named.conf > Zone “ip.address.in-addr.arpa”, > Zone “my.domain” > Apparently they are working exactly the same way. Both versions 9.16-9….on > Oracle Linux. > The official documentation doesn’t use the trailing “.” > What are the differences, if any? > Thanks! > Kind regards > David -- > 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 -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org -- 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