WireGuard DNS via resolvectl statt DNS= Direktive

wg-quick DNS= setzt catch-all (~.) ueber resolvconf, was
systemd-resolved Stub-Resolver blockiert. Flatpak-Apps (Brave,
PrusaSlicer) koennen 127.0.0.53 nicht erreichen und haben
kein DNS. Fix: PostUp/PostDown mit resolvectl fuer korrektes
Interface-basiertes DNS. resolv.conf zeigt auf stub-resolv.conf.
This commit is contained in:
rene 2026-03-13 08:54:24 +01:00
parent d98fa5530b
commit da87ac255e
3 changed files with 7 additions and 5 deletions

View file

@ -2,7 +2,8 @@
PrivateKey = OA5IiSzPglSY8GdobOYMlaOaG+QqNjHIACBRe7MvK04=
ListenPort = 51820
Address = 10.13.13.7/24
DNS = 10.47.11.20,10.47.11.1
PostUp = resolvectl dns %i 10.47.11.20 10.47.11.1
PostDown = resolvectl revert %i
[Peer]
PublicKey = J/dD1t3Bo9Zbcvxg6PvGP78kgMlL4s4yYfrUMpcoS2w=