[dsc] Smart second-level-domain mapping

Jerry Lundström jerry at dns-oarc.net
Wed Jan 12 09:32:22 UTC 2022


Hi all,

This smarter PSL/TLD mapping feature is now available for testing thanks
to funding from NIC.AT!

  <https://github.com/DNS-OARC/dsc/pull/259>

If anyone wanna test this then please let me know and I'll send you
instructions how to set it up.

Cheers,
Jerry

On 10/18/21 11:14 AM, Jerry Lundström wrote:
> Hi Klaus,
> 
> On 10/18/21 10:26 AM, Klaus Darilion wrote:
>>
>> AFAIK the second-level and third-level domain mapping is purely based on the number of dots. Hence, in our statistics, the most attractive second level domain is "co.uk". Would it be possible to implement a "smart" second-level domain mapping which counts example.com and example.co.uk on the same level? For example using the https://publicsuffix.org/list/public_suffix_list.dat list?
> 
> Sure, maybe you could add a lookup table (txt) that make "co.uk" be
> treated like a single label for example.
> 
> But it would have some performance impact since it would need to look
> this up on every packet.
> 
> It would be fairly simple to add a config for that file, read it into a
> hash and add a lookup in dns_message.c/dns_message_QnameToNld() when
> counting dots.
> 
> I'm hoping that you (or anyone else) have time to implement this?
> 
> Because I don't right now.
> 
> Cheers,
> Jerry
> _______________________________________________
> dsc mailing list
> dsc at lists.dns-oarc.net
> https://lists.dns-oarc.net/mailman/listinfo/dsc
> 


More information about the dsc mailing list