diff --git a/service/firewall/interception/dnsmonitor/eventlistener_linux.go b/service/firewall/interception/dnsmonitor/eventlistener_linux.go index d987a0823..6e9bb3ee1 100644 --- a/service/firewall/interception/dnsmonitor/eventlistener_linux.go +++ b/service/firewall/interception/dnsmonitor/eventlistener_linux.go @@ -10,10 +10,11 @@ import ( "os" "github.com/miekg/dns" + "github.com/varlink/go/varlink" + "github.com/safing/portmaster/base/log" "github.com/safing/portmaster/service/mgr" "github.com/safing/portmaster/service/resolver" - "github.com/varlink/go/varlink" ) type Listener struct { diff --git a/service/firewall/interception/dnsmonitor/module.go b/service/firewall/interception/dnsmonitor/module.go index eed8be119..974429f74 100644 --- a/service/firewall/interception/dnsmonitor/module.go +++ b/service/firewall/interception/dnsmonitor/module.go @@ -6,6 +6,7 @@ import ( "strings" "github.com/miekg/dns" + "github.com/safing/portmaster/base/database" "github.com/safing/portmaster/base/log" "github.com/safing/portmaster/service/compat" @@ -38,7 +39,7 @@ func (dl *DNSMonitor) Start() error { var err error dl.listener, err = newListener(dl) if err != nil { - log.Errorf("dnsmonitor: failed to start dns listener: %s", err) + log.Warningf("dnsmonitor: failed to start dns listener: %s", err) } return nil