m13253 / dns-over-https

High performance DNS over HTTPS client & server
https://developers.google.com/speed/public-dns/docs/dns-over-https
MIT License
1.96k stars 221 forks source link

Purpose of the NetworkManager dispatcher scripts #127

Closed koonix closed 2 years ago

koonix commented 2 years ago

Hi, What is the purpose of the NetworkManager dispatcher scripts? I couldn't find any info on why doh needs to be restarted every time an interface goes up or down.

m13253 commented 2 years ago

This dispatcher scripts simply restarts the DoH client or server when there is a network change. This prevents various bugs related to connection pooling.

If you use network managing software other than NetworkManager, you can write similar scripts to achieve the same purpose.

If you don't observe this kind of issue, you can safely ignore these scripts.

koonix commented 2 years ago

I see, thanks for clearing it up.