Store the previous applied dns configuration hash (#628)

This prevents changing the system
DNS config when there is nothing to new

It also prevents issues with network change on google chrome
This commit is contained in:
Maycon Santos
2022-12-16 17:00:20 +01:00
committed by GitHub
parent 6b32e2dc07
commit d18966276a
6 changed files with 42 additions and 17 deletions

1
go.mod
View File

@@ -41,6 +41,7 @@ require (
github.com/libp2p/go-netroute v0.2.0
github.com/magiconair/properties v1.8.5
github.com/miekg/dns v1.1.41
github.com/mitchellh/hashstructure/v2 v2.0.2
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/prometheus/client_golang v1.13.0
github.com/rs/xid v1.3.0