FS#63949 - [unbound] Provide roothints files in the package

Attached to Project: Community Packages
Opened by Bruno Pagani (ArchangeGabriel) - Sunday, 29 September 2019, 14:20 GMT
Last edited by Gaetan Bisson (vesath) - Monday, 30 September 2019, 20:18 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Low
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

We currently advice in the wiki to add those files:
https://wiki.archlinux.org/index.php/Unbound#Roothints_systemd_timer

I think it would make sense for them to be packaged alongside unbound, so that one just have to enable the timer rather than also having to copy-paste them from the wiki inside an user location. ;)
This task depends upon

Closed by  Gaetan Bisson (vesath)
Monday, 30 September 2019, 20:18 GMT
Reason for closing:  Won't implement
Additional comments about closing:  I agree with the arguments set forth in the task closure request: Unbound has build-in root hints which are still usable even when not updating them for a decade. 99,99% users shouldn't care about this therefore it's not worth for packaging. Fix the wiki.
Comment by Jensen McKenzie (your_doomsday) - Sunday, 29 September 2019, 16:20 GMT
The wiki says:

"Unbound comes with default builtin hints. Therefore, if the package is updated regularly, no manual intervention is required"

Then recommends:
"it is a good idea to update root.hints every six months or so".

Unbound releases are done more often than that so perhaps updating root hints is redundant. The wiki recommendation seems more suited for distros like debian which doesn't follow upstream release schedule.
Comment by loqs (loqs) - Sunday, 29 September 2019, 18:55 GMT
The last change to a hint entry was Oct 24, 2017 [1].
Even using the built in hints from a decade ago [2] provides 5 valid IP6 and 10 valid IP4 root servers.
Only one valid entry is required allowing unbound to cache the authoritative list of NS records for ".".
Perhaps the wiki should be changed rather than the package.

[1] https://github.com/NLnetLabs/unbound/commit/afb2d5f1051e99fb5a1c493acb90bc572e8a75aa
[2] https://github.com/NLnetLabs/unbound/blob/c653b8424bc6a8be2119cc935305152095b71556/iterator/iter_hints.c

Loading...