Re: http.client and dns lookups

2022-02-02 Thread Dieter Maurer
Michael Welle wrote at 2022-2-1 19:28 +0100: > ... >That doesn't happen when the 'real' issue occurs. Attaching strace to >the Python process I can see that resolv.conf is stat'ed and open'ed. I >guess now I'm more confused than before ;). There must be an additional >condition that I'm missing.

Re: http.client and dns lookups

2022-02-01 Thread Barry
> On 1 Feb 2022, at 19:21, Michael Welle wrote: > > Hello, > > Barry writes: > On 31 Jan 2022, at 19:22, Dieter Maurer wrote: >>> >>> Michael Welle wrote at 2022-1-30 09:18 +0100: ... >>> The machine this is running on regularly switches its network configuration without

Re: http.client and dns lookups

2022-02-01 Thread Barry
> On 31 Jan 2022, at 19:22, Dieter Maurer wrote: > > Michael Welle wrote at 2022-1-30 09:18 +0100: >> ... > The machine this is running on regularly switches >> its network configuration without restarting the Python application. Now >> it turns out that the application is still using an old,

Re: http.client and dns lookups

2022-01-31 Thread Dieter Maurer
Michael Welle wrote at 2022-1-30 09:18 +0100: > ... The machine this is running on regularly switches >its network configuration without restarting the Python application. Now >it turns out that the application is still using an old, outdated dns >server after such a network configuration switch.