unbound resolver ready for URL

Modster, Anthony Anthony.Modster at Teledyne.com
Mon Apr 26 20:30:33 UTC 2021


Thanks


Teledyne Confidential; Commercially Sensitive Business Data

-----Original Message-----
From: Felipe Gasper <felipe at felipegasper.com> 
Sent: Tuesday, April 20, 2021 6:52 AM
To: Modster, Anthony <Anthony.Modster at Teledyne.com>
Cc: unbound-users at lists.nlnetlabs.nl
Subject: Re: unbound resolver ready for URL

---External Email---

> On Apr 19, 2021, at 5:31 PM, Modster, Anthony via Unbound-users <unbound-users at lists.nlnetlabs.nl> wrote:
> 
> Hello
>  
> How to determine when “unbound resolver” is ready for a URL to be resolved ?
>  
> Before making URL query requests, I wait for “unbound resolver” to come up.
> The method I used is by detecting the unbound pid file.
> This seems to work most of the time, but not always.

If you’re on a recent Linux you can probably also check systemd to see if unbound is running. There’s a D-Bus interface that should do the job.

-FG


More information about the Unbound-users mailing list