Sending DNS requests through VPN

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I'm having trouble with sending DNS requests through my VPN connection, I believe this is an Ubuntu question because I have OpenVPN installed on my phone and DNS traffic from there is sent through my VPN. It maybe that I'm missing something simple in the ubuntu settings, but I'm still trying to learn this stuff.



So I have 2 Raspberry Pi's setup at home, one as a PiHole and DHCP server, and the other as a PiVPN server. I've imported the ovpn file into network manager to setup the VPN connection on my ubuntu laptop, but when browsing the internet ads still show. When browsing using my phone and tablet with the OpenVPN app installed and connected ads are blocked.



I've tried setting the DNS in the vpn settings to 192.168.1.102, which is the IP for my PiHole on my home network. Turning on and off the automatic DNS setting but the ads are still there.



Any help would be greatly appreciated.







share|improve this question
























    up vote
    0
    down vote

    favorite












    I'm having trouble with sending DNS requests through my VPN connection, I believe this is an Ubuntu question because I have OpenVPN installed on my phone and DNS traffic from there is sent through my VPN. It maybe that I'm missing something simple in the ubuntu settings, but I'm still trying to learn this stuff.



    So I have 2 Raspberry Pi's setup at home, one as a PiHole and DHCP server, and the other as a PiVPN server. I've imported the ovpn file into network manager to setup the VPN connection on my ubuntu laptop, but when browsing the internet ads still show. When browsing using my phone and tablet with the OpenVPN app installed and connected ads are blocked.



    I've tried setting the DNS in the vpn settings to 192.168.1.102, which is the IP for my PiHole on my home network. Turning on and off the automatic DNS setting but the ads are still there.



    Any help would be greatly appreciated.







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm having trouble with sending DNS requests through my VPN connection, I believe this is an Ubuntu question because I have OpenVPN installed on my phone and DNS traffic from there is sent through my VPN. It maybe that I'm missing something simple in the ubuntu settings, but I'm still trying to learn this stuff.



      So I have 2 Raspberry Pi's setup at home, one as a PiHole and DHCP server, and the other as a PiVPN server. I've imported the ovpn file into network manager to setup the VPN connection on my ubuntu laptop, but when browsing the internet ads still show. When browsing using my phone and tablet with the OpenVPN app installed and connected ads are blocked.



      I've tried setting the DNS in the vpn settings to 192.168.1.102, which is the IP for my PiHole on my home network. Turning on and off the automatic DNS setting but the ads are still there.



      Any help would be greatly appreciated.







      share|improve this question












      I'm having trouble with sending DNS requests through my VPN connection, I believe this is an Ubuntu question because I have OpenVPN installed on my phone and DNS traffic from there is sent through my VPN. It maybe that I'm missing something simple in the ubuntu settings, but I'm still trying to learn this stuff.



      So I have 2 Raspberry Pi's setup at home, one as a PiHole and DHCP server, and the other as a PiVPN server. I've imported the ovpn file into network manager to setup the VPN connection on my ubuntu laptop, but when browsing the internet ads still show. When browsing using my phone and tablet with the OpenVPN app installed and connected ads are blocked.



      I've tried setting the DNS in the vpn settings to 192.168.1.102, which is the IP for my PiHole on my home network. Turning on and off the automatic DNS setting but the ads are still there.



      Any help would be greatly appreciated.









      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 25 at 19:27









      Stiv

      11




      11

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1028181%2fsending-dns-requests-through-vpn%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1028181%2fsending-dns-requests-through-vpn%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491