I connect to a WireGuard installed on my VPS. Then I go to a random VPN service marketing page on which I’ll discover that my DNS leaks. And which is correct because I’ve specified DNS = 1.1.1.1 in [Interface] for all the Peers.

In order to avoid DNS leakadge, do I have to a) run DNS server on the a VPS – along with WireGuard, and b) use this one and only it, instead of 1.1.1.1?


But if so, how will this possibly work?

[Peer]
PublicKey = [....;....]
PresharedKey = [......]
Endpoint = wg.my_domain123.com:51820

In order to resolve Endpoint of my VPS to begin with, other DNS server will have to be used – by IP. But there’ll be none because I’ll use a DNS on my VPS instead of 1.1.1.1. In other words, it’ll be a circular dependency.

  • towerful
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    A week on, and it’s the same shit with this guy

    • TexMexBazooka@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Two weeks later, I’m just scrolling through his comments to confirm that he’s still a dick. Also a Putin cocksucker.