<div dir="ltr"><div>Wow, looks a right mess to be honest, might just have to leave it as is, less aggravation.</div><div><br></div><div>Hard to understand why in 2021 almost 2022, we can't do something so simple in dns<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 21, 2021 at 9:49 PM Tony Finch <<a href="mailto:dot@dotat.at">dot@dotat.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Edwardo Garcia <<a href="mailto:wdgarc88@gmail.com" target="_blank">wdgarc88@gmail.com</a>> wrote:<br>
><br>
> I guess bind can not consolidate like this and we have to put up with a<br>
> million /24 zone files ? I was thinking because we can do classless dele<br>
> with smaller than /24, it would work on bigger :)<br>
<br>
It is possible! The basic idea (very briefly) is:<br>
<br>
With classless reverse DNS for prefixes longer than /24, you need a CNAME<br>
in the /24 zone pointing at each address in the classless zone.<br>
<br>
For shorter prefixes, you need a DNAME in the /16 zone pointing at each<br>
/24 in the classless zone.<br>
<br>
There are some documents explaining how we use this trick in production<br>
at <a href="https://www.dns.cam.ac.uk/domains/reverse/" rel="noreferrer" target="_blank">https://www.dns.cam.ac.uk/domains/reverse/</a> with links to the less<br>
Cambridge-specific explanations in the last two paragraphs of that page,<br>
viz:<br>
<br>
<a href="https://www.dns.cam.ac.uk/domains/reverse/technical.html" rel="noreferrer" target="_blank">https://www.dns.cam.ac.uk/domains/reverse/technical.html</a><br>
<br>
<a href="https://tools.ietf.org/html/draft-fanf-dnsop-rfc2317bis" rel="noreferrer" target="_blank">https://tools.ietf.org/html/draft-fanf-dnsop-rfc2317bis</a><br>
<br>
Tony.<br>
-- <br>
f.anthony.n.finch <<a href="mailto:dot@dotat.at" target="_blank">dot@dotat.at</a>> <a href="https://dotat.at/" rel="noreferrer" target="_blank">https://dotat.at/</a><br>
Lundy, Fastnet: Northwest 4 or 5, occasionally 6 in Lundy. Rough or<br>
very rough, becoming moderate or rough, then moderate later. Showers.<br>
Good, occasionally moderate.<br>
<br>
</blockquote></div>