WireSock DNS is going over VPN (bug?)

Home Forums Discussions General WireSock DNS is going over VPN (bug?)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13289
    mirkle
    Participant

      Hello,

      My wg config has:

      DNS = 1.1.1.1

      AllowedIPs = 10.0.0.0/8

      DNS requests are still being sent through the tunnel even though it’s not in AllowedIPs, and even if it was, I don’t think it should go through the tunnel. If I wanted my dns to go through the tunnel I would configure the vpn server as the DNS, no?

      Are DNS always forced through the tunnel regardless of config settings?

       

      This software is amazing and much more stable compared to the official wg client.

      Thanks for your hard work.

      #13290
      Vadim Smirnov
      Keymaster

        Thank you for you warm words. You’re correct. When DNS settings are present in the Wireguard configuration file, all DNS requests are channeled through the tunnel to the specified DNS server, irrespective of the ‘AllowedIps’ setting. If DNS isn’t configured, then other filters, like ‘AllowedIps’, come into play.

        #13291
        mirkle
        Participant

          It’s working after I removed the DNS setting. DNS is no longer going through my tunnel.

           

          Good enough for me. Thank you again.

           

           

           

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.