Improve system resolver paths for linux

This commit is contained in:
Daniel 2021-11-24 16:37:26 +01:00
parent 9185bf5bac
commit 07c727c643

View file

@ -73,8 +73,10 @@ func (p *Process) GetProfile(ctx context.Context) (changed bool, err error) {
"/usr/lib/systemd/systemd-resolved",
"/lib64/systemd/systemd-resolved",
"/usr/lib64/systemd/systemd-resolved",
"/usr/bin/nscd",
"/usr/sbin/nscd",
"/usr/local/sbin/nscd":
"/usr/bin/dnsmasq",
"/usr/sbin/dnsmasq":
profileID = profile.SystemResolverProfileID
}
}