DNS for wireguard interface inside netns (with systemd-resolved)

This page summarizes the projects mentioned and recommended in the original post on /r/WireGuard

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • namespaced-openvpn

    Wrapper for OpenVPN on Linux solving various privacy issues

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • systemd

    The systemd System and Service Manager

  • People (myself included) ran into DNS surprises with that piece of software before.

  • dnsleaktest

    An open source script tests VPN connection for DNS Leak.

  • I recreated the simple (wg moved into netns) setup and introduced the nsswitch file you posted above. I then ran a DNS leak test script from within the netns and it didn't report any leaks. I ran wireshark in parallel, and unlike before, there was no DNS traffic on the host's ethernet interface. This looks really promising.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts