42 Commits (2716250ee823f21c984e2989c596bc2aaa495613)

Author SHA1 Message Date
Andrew Lytvynov 2716250ee8
all: cleanup unused code, part 2 (#10670) 2 years ago
Michael Stapelberg 2a6c237d4c net/dns: overwrite /tmp/resolv.conf on gokrazy 3 years ago
Will Norris 71029cea2d all: update copyright and license headers 3 years ago
Brad Fitzpatrick 90bd74fc05 net/dns: add a health warning when Linux /etc/resolv.conf is overwritten 3 years ago
Brad Fitzpatrick 001f482aca net/dns: make "direct" mode on Linux warn on resolv.conf fights 3 years ago
Eng Zer Jun f0347e841f refactor: move from io/ioutil to io and os packages 4 years ago
Brad Fitzpatrick a12aad6b47 all: convert more code to use net/netip directly 4 years ago
Brad Fitzpatrick 7eaf5e509f net/netaddr: start migrating to net/netip via new netaddr adapter package 4 years ago
Brad Fitzpatrick 7d897229d9 net/dns: ignore permission errors on Synology DSM7 for now 4 years ago
Brad Fitzpatrick c988bd6ed1 net/dns/resolvconffile: unify three /etc/resolv.conf parsers into new package 4 years ago
Brad Fitzpatrick eb26c081b1 net/dns: bound time we wait on restarting systemd-resolved in another place 4 years ago
Brad Fitzpatrick cab5c46481 net/dns: bound how long we block looking for, restarting systemd-resolved 4 years ago
Josh Bleecher Snyder d10cefdb9b net/dns: require space after nameserver/search parsing resolv.conf 4 years ago
Josh Bleecher Snyder 9f00510833 net/dns: handle comments in resolv.conf 4 years ago
Denton Gentry 139a6c4c9c net/dns: detect when resolvconf points to systemd-resolved. 5 years ago
David Anderson a320d70614 net/dns: fall back to copy+delete/truncate if moving to/from /etc/resolv.conf fails. 5 years ago
David Anderson 04d24d3a38 net/dns: move directManager function below directManager's definition. 5 years ago
David Anderson 422ea4980f net/dns: remove a tiny wrapper function that isn't contributing anything. 5 years ago
David Anderson b3b1c06b3a net/dns: only restart systemd-resolved if we changed /etc/resolv.conf. 5 years ago
David Crawshaw 0ac2130590 net/dns: resolveConfExists reading the wrong error 5 years ago
Brad Fitzpatrick 36ffd509de net/dns: avoid Linux PolicyKit GUI dialog during tests 5 years ago
David Crawshaw 1147c7fd4f net/dns: set WSL /etc/resolv.conf 5 years ago
David Crawshaw 9b063b86c3 net/dns: factor directManager out over an FS interface 5 years ago
David Crawshaw 80b1308974 net/dns: remove ref to managerImpl 5 years ago
Josh Bleecher Snyder 20e04418ff net/dns: add GOOS build tags 5 years ago
David Anderson 53213114ec net/dns: make debian_resolvconf correctly clear DNS configs. 5 years ago
David Anderson 3b1ab78954 net/dns: restore resolv.conf when given an empty config in directManager. 5 years ago
David Anderson 1f9b73a531 net/dns: fix freebsd DNS manager selection. 5 years ago
David Anderson 854d5d36a1 net/dns: return error from NewOSManager, use it to initialize NM. 5 years ago
David Anderson 61b361bac0 net/dns: teach the openresolv manager to read DNS config. 5 years ago
David Anderson 5480189313 net/dns: implement a DNS override workaround for legacy resolvconf. 5 years ago
David Anderson 1a371b93be util/dnsname: add FQDN type, use throughout codebase. 5 years ago
David Anderson e638a4d86b net/dns: make directManager support split DNS, and work in sandboxes. 5 years ago
David Anderson 4a64d2a603 net/dns: some post-review cleanups. 5 years ago
David Anderson 68f76e9aa1 net/dns: add GetBaseConfig to OSConfigurator interface. 5 years ago
David Anderson e0e677a8f6 net/dns: split out search domains and match domains in OSConfig. 5 years ago
David Anderson de6dc4c510 net/dns: add a Primary field to OSConfig. 5 years ago
David Anderson b2a597b288 net/dns: rename Set to SetDNS in OSConfigurator. 5 years ago
David Anderson befd8e4e68 net/dns: replace managerImpl with OSConfigurator in code. 5 years ago
David Anderson 8af9d770cf net/dns: rename Config to OSConfig. 5 years ago
David Anderson fcfc0d3a08 net/dns: remove ManagerConfig, pass relevant args directly. 5 years ago
David Anderson 9f7f2af008 wgengine/router/dns: move to net/dns. 5 years ago
Brad Fitzpatrick 01ee638cca Change some os.IsNotExist to errors.Is(err, os.ErrNotExist) for non-os errors. 6 years ago
Dmytro Shynkevych 28e52a0492
all: dns refactor, add Proxied and PerDomain flags from control (#615) 6 years ago
Dmytro Shynkevych 154d1cde05
router: reload systemd-resolved after changing /etc/resolv.conf (#619) 6 years ago
Dmytro Shynkevych 30bbbe9467
wgengine/router: dns: unify on *BSD, multimode on Linux, Magic DNS (#536) 6 years ago