<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On 24 Jan 2025, at 21:32, Lee <ler762@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div>On Fri, Jan 24, 2025 at 3:27 PM Greg Choules wrote:<br><blockquote type="cite"><br><br><blockquote type="cite">On 24 Jan 2025, at 19:07, Lee <ler762@gmail.com> wrote:<br><br>On Mon, Jan 20, 2025 at 4:55 AM Petr Špaček wrote:<br><blockquote type="cite"><br>On 15. 01. 25 19:55, Lee wrote:<br><blockquote type="cite">On Wed, Jan 15, 2025 at 11:55 AM Ondřej Surý wrote:<br><blockquote type="cite">On 14. 1. 2025, at 16:56, Lee <ler762@gmail.com> wrote:<br><br>In other words, should I submit a bug report to the Debian bind<br>maintainers or ISC?<br><br><br>With both my ISC and Debian hats on, I am going to be very frank<br>and say this has a very low priority, so unless you actually want to<br>work on this and submit a solid correct patch with a good reasoning,<br>there's probably nobody that is going to work on this.<br></blockquote><br>I appreciate the honesty, but I think I'm missing something?<br><br>The good reasoning part would be quoting the RFC and the solid correct<br>patch would be stripping out everything except the two line change I<br>made to my db.local in the original post.<br></blockquote><br>Unfortunately not quite, BIND does not ship with any zone files.<br></blockquote><br>Really?!  I installed BIND on windows however long ago when it was<br>supported on Windows and it came with a db.local that looked identical<br>to the one that came with Debian.<br></blockquote><br>Certainly for the last quite a lot of years there hasn't been a hint zone file - whatever it might be called - shipped with BIND, if ever: there are too many releases to search through.<br>The current (at the time of release) set of root servers are contained in the file rootns.c, but this is definitely not a zone file, just the place BIND gets its built-in hints from.<br>I would think that, if a file called db.local, db.hint, db.root or whatever does exist, it is someone else who created it.<br></blockquote><br>I don't know who created or included db.local in the distribution of<br>bind.  What I do know is that my installation of bind on windows and<br>my installation of bind on debian came with a db.local -- here's the<br>one that came with my installation of bind on Windows:<br><br></div></div></blockquote><div><br></div><div>I just looked in the source for 9.0.0, released nearly 25 years ago, to see what was there because I was curious. There is no file called “db.local": here’s the link if you want to check for yourself: <a href="https://downloads.isc.org/isc/bind9/9.0.0/">https://downloads.isc.org/isc/bind9/9.0.0/</a> Every release since then is also available to download, should you want to check them all.</div><div>So the fact that you *do* have a file called “db.local", I think means nothing. Anyone could have created that for some purpose only they knew at the time.</div><br><blockquote type="cite"><div><div>C:\MyProgs\BIND\etc>more db.local<br>;<br>; BIND data file for local loopback interface<br>;<br>$TTL    604800<br>@       IN      SOA     localhost. root.localhost. (<br>                              2         ; Serial<br>                         604800         ; Refresh<br>                          86400         ; Retry<br>                        2419200         ; Expire<br>                         604800 )       ; Negative Cache TTL<br>;<br>@       IN      NS      localhost.<br>@       IN      A       127.0.0.1<br>@       IN      AAAA    ::1<br><br>C:\MyProgs\BIND\etc><br><br>and here's my modified copy of db.local on my Debian machine (I added<br>the two wildcard lines for .localhost.)<br><br>lee@spot /etc/bind<br>$ cat db.local<br>;<br>; BIND data file for local loopback interface<br>;<br>$TTL    604800<br>@       IN      SOA     localhost. root.localhost. (<br>                              3         ; Serial<br>                         604800         ; Refresh<br>                          86400         ; Retry<br>                        2419200         ; Expire<br>                         604800 )       ; Negative Cache TTL<br>;<br>@       IN      NS      localhost.<br>@       IN      A       127.0.0.1<br>@       IN      AAAA    ::1<br><br>*       IN      A       127.0.0.1<br>        IN      AAAA    ::1<br><br><br>lee@spot /etc/bind<br>$ dig +short foo.bar.localhost aaaa<br>::1<br><br>lee@spot /etc/bind<br>$ grep db.local *<br>named.conf.default-zones:       file "/etc/bind/db.local";<br><br>lee@spot /etc/bind<br>$<br><br><br>Regards,<br>Lee<br></div></div></blockquote></div><br></body></html>