News for hackers. Stuff that matters.
Re:Wireguard-docs: Setup, usage, configuration, and a full e... by 3xblah on Wednesday May 29, 2019 @04:02AM (#20037746)
"2. OpenVPN never borks my resolv.conf but Wireguard often leaves my DNS resolution in a state of confusion."

Checking the source... excerpt from src/tools/wg-quick/openbsd.bash:

   set_dns() {
   [[ ${#DNS[@]} -gt 0 ]] || return 0
   # TODO: this is a horrible way of doing it. Has OpenBSD no resolvconf?
   cmd cp /etc/resolv.conf    "/etc/resolv.conf.wg-quick-backup.$INTERFACE"
   cmd printf 'nameserver %s\n' "${DNS[@]}" >    /etc/resolv.conf
   }
Re:Wireguard-docs: Setup, usage, configuration, and a full e... by zx2c4 on Wednesday May 29, 2019 @04:41AM (#20037972)
We're doing something better on other platforms. But for OpenBSD I'm not entirely sure the best way. Suggestions welcome.
Re:Wireguard-docs: Setup, usage, configuration, and a full e... by Hello71 on Wednesday May 29, 2019 @07:42AM (#20038916)
did you check what openvpn does? I would assume they have something at a local maximum.