WireSock DNS is going over VPN (bug?)

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

Viewing 5 posts - 1 through 5 (of 5 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.

           

           

           

          #13948
          unknown_gopher
          Participant

            is there a way to use dns specified in config only for selected apps?
            sometimes it’s not very convenient to send all the requests through vpn especially when remote network is used only for eg *local domains access

            #13949
            Vadim Smirnov
            Keymaster

              All DNS requests on Windows are resolved within the DNSCACHE process, making it impossible to identify the originating application.

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