<html><head></head><body><div dir="auto">Hello!<br><br>this is going to be fixed by going multithreaded, then the BGP sessions will be independent on DNS resolution in RPKI.<br><br>Basically, BIRD 3 is the solution and there is not much of a hurry to fix this in BIRD 2. Also, you can just add the record to /etc/hosts, as you may want the RPKI to load before DNS is reachable.<br><br>Maria</div><br><br><div class="gmail_quote"><div dir="auto">On 21 October 2024 10:17:50 GMT-04:00, "Ondřej Caletka" <ondrej@caletka.cz> wrote:</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><div dir="auto">Dear BIRD users,<br><br>I have recently noticed an interesting issue. A newly set up BGP session between BIRD on our side and a remote party running whatever was taken down every hour or so. The reason for the session being terminated was Received: Hold timer expired.<br><br>Looking at the logs, it turned out that this was caused by broken DNS resolver on the machine where BIRD is running. Whenever BIRD was trying to resolve the host name of the RPKI Validator cache, it got stuck for 24 seconds. This was apparently enough for the other BGP speaker to consider it dead and take the session down (the hold timers were shortened from the standard values there).<br><br>Oct 15 13:45:51 vrtr-4.mtg.ripe.net bird[907]: rpki_validator: Cannot resolve hostname 'rpki-validator.mtg.ripe.net': ><br>Oct 15 13:45:51 vrtr-4.mtg.ripe.net bird[907]: I/O loop cycle took 24009.001 ms for 1 events<br>Oct 15 13:45:51 vrtr-4.mtg.ripe.net bird[907]: Kernel dropped some netlink messages, will resync on next scan.<br>Oct 15 13:45:51 vrtr-4.mtg.ripe.net bird[907]: peer_as2852_v4: Received: Hold timer expired<br>Oct 15 13:46:55 vrtr-4.mtg.ripe.net bird[907]: peer_as2852_v4.ipv4: Automatic RPKI reload not active for import<br><br>This case was fixed by making sure DNS resolver works, but I still wonder whether this is a known limitation or whether this is something that can possibly be improved.<br><br>--<br>Best regards,<br><br>Ondřej Caletka<br></div></pre></blockquote></div><div dir="auto"><div class='k9mail-signature'>-- <br>Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.</div></div></body></html>