{"action":"created","issue":{"url":"https://api.github.com/repos/jedisct1/dnscrypt-proxy/issues/389","repository_url":"https://api.github.com/repos/jedisct1/dnscrypt-proxy","labels_url":"https://api.github.com/repos/jedisct1/dnscrypt-proxy/issues/389/labels{/name}","comments_url":"https://api.github.com/repos/jedisct1/dnscrypt-proxy/issues/389/comments","events_url":"https://api.github.com/repos/jedisct1/dnscrypt-proxy/issues/389/events","html_url":"https://github.com/jedisct1/dnscrypt-proxy/issues/389","id":142967092,"number":389,"title":"DNSCrypt-Proxy w/ OpenVPN","user":{"login":"williclarkam","id":15060852,"avatar_url":"https://avatars.githubusercontent.com/u/15060852?v=3","gravatar_id":"","url":"https://api.github.com/users/williclarkam","html_url":"https://github.com/williclarkam","followers_url":"https://api.github.com/users/williclarkam/followers","following_url":"https://api.github.com/users/williclarkam/following{/other_user}","gists_url":"https://api.github.com/users/williclarkam/gists{/gist_id}","starred_url":"https://api.github.com/users/williclarkam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williclarkam/subscriptions","organizations_url":"https://api.github.com/users/williclarkam/orgs","repos_url":"https://api.github.com/users/williclarkam/repos","events_url":"https://api.github.com/users/williclarkam/events{/privacy}","received_events_url":"https://api.github.com/users/williclarkam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-23T14:00:52Z","updated_at":"2016-03-23T16:00:28Z","closed_at":null,"body":"Hello,\r\n\r\nSo I was wondering, if it's possible to use DNSCrypt-Proxy with OpenVPN. Let me explain:\r\nI have VPS that openvpn runs on it, take for example, server IP is: 10.10.10.10 and OpenVPN runs on port 1194.  Now I install dnscrypt-proxy (with servers from dnscrypt.eu) and resolv.conf changes to \r\n```\r\n127.0.0.1\r\n127.0.0.2\r\n```\r\nnow my VPS uses these IP addresses to solve any website, BUT OpenVPN still uses 8.8.8.8 and 8.8.4.4\r\nNow I delete these two line in openvpn server config\r\n```\r\npush \"dhcp-option DNS 8.8.8.8\"\r\npush \"dhcp-option DNS 8.8.8.8\"\r\n```\r\nand replace it with:\r\n\r\n```\r\npush \"dhcp-option DNS 127.0.0.1\"\r\npush \"dhcp-option DNS 127.0.0.2\"\r\n\r\n```\r\n\r\nnow after I start OpenVPN client, it connects successfully but NO domain name will be resolved however pinging 8.8.8.8 does work but pinging google.com doesn't! \r\nSo I wanted to know, if there is anyway to force OpenVPN to send all queries to DNSCrypt-Proxy.\r\nBest Regards, \r\n\r\n---------------------------------\r\n\r\nI have overcame this issue using Unbound DNS Server, and forward my queries to 127.0.0.1 to port 40\r\nbut it isn't fast, sometimes it doesn't response, older releases are in Ubuntu Repository, and the setup is somehow time consuming."},"comment":{"url":"https://api.github.com/repos/jedisct1/dnscrypt-proxy/issues/comments/200411498","html_url":"https://github.com/jedisct1/dnscrypt-proxy/issues/389#issuecomment-200411498","issue_url":"https://api.github.com/repos/jedisct1/dnscrypt-proxy/issues/389","id":200411498,"user":{"login":"williclarkam","id":15060852,"avatar_url":"https://avatars.githubusercontent.com/u/15060852?v=3","gravatar_id":"","url":"https://api.github.com/users/williclarkam","html_url":"https://github.com/williclarkam","followers_url":"https://api.github.com/users/williclarkam/followers","following_url":"https://api.github.com/users/williclarkam/following{/other_user}","gists_url":"https://api.github.com/users/williclarkam/gists{/gist_id}","starred_url":"https://api.github.com/users/williclarkam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williclarkam/subscriptions","organizations_url":"https://api.github.com/users/williclarkam/orgs","repos_url":"https://api.github.com/users/williclarkam/repos","events_url":"https://api.github.com/users/williclarkam/events{/privacy}","received_events_url":"https://api.github.com/users/williclarkam/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T16:00:28Z","updated_at":"2016-03-23T16:00:28Z","body":"Thanks Sir for your reply.\r\nCould you please tell me why you would recommend me not using DNSCrypt-proxy when using VPN?"}}