You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Describe the bug Sporadic fatal errors possible at unbound start if the root-hints option is used.
The server may become unresponsive as a result.
The copy of the https://www.internic.net/domain/named.root is used for root-hints.
Errors seen (can occur either during one start attempt or be limited to one error per unsuccessful attempt): error: reading root hints /root.hints 19:1: Empty label error: reading root hints /root.hints 2:37: Syntax error, could not parse the RR's type error: reading root hints /root.hints 2:9: Syntax error, could not parse the RR's type error: reading root hints /root.hints 8:14: Syntax error, could not parse the RR's class error: reading root hints /root.hints 13:15: Conversion error, ip6 addr expected
and so on..
so it ends up with: error: Could not set root or stub hints and fatal error: Could not initialize thread (for one or more threads)
The sporadic nature of the errors and their content (error in reading the record type in a comment line, mismatch between the record type and the address type) suggest that there may be a thread race when reading a file?
To reproduce
Steps to reproduce the behavior:
Use root-hints option
Сreate conditions for periodic unbound restart
Wait
Expected behavior
A clear and concise description of what you expected to happen.