[GH-ISSUE #65] Suggestion - From Google DNS to Cloudflare DNS #59

Closed
opened 2026-03-02 07:11:25 +03:00 by kerem · 1 comment
Owner

Originally created by @pascalandy on GitHub (Apr 5, 2018).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/65

From the news from Cloudflare - https://twitter.com/Cloudflare/status/980430875258212352

I suggest to move out from Google DNS and use Cloudflare service.

github.com/hwdsl2/docker-ipsec-vpn-server@00e3e719b9/run.sh (L109)

and use instead:

DNS_SRV1=${VPN_DNS_SRV1:-'1.1.1.1'}
DNS_SRV2=${VPN_DNS_SRV2:-'1.0.0.1'}

I could do a PR if you prefer :)

Originally created by @pascalandy on GitHub (Apr 5, 2018). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/65 From the news from Cloudflare - https://twitter.com/Cloudflare/status/980430875258212352 I suggest to move out from Google DNS and use Cloudflare service. https://github.com/hwdsl2/docker-ipsec-vpn-server/blob/00e3e719b95b73e3e7c7e8ad5e06fdace0873366/run.sh#L109 and use instead: ``` DNS_SRV1=${VPN_DNS_SRV1:-'1.1.1.1'} DNS_SRV2=${VPN_DNS_SRV2:-'1.0.0.1'} ``` I could do a PR if you prefer :)
kerem closed this issue 2026-03-02 07:11:26 +03:00
Author
Owner

@maltalex commented on GitHub (May 23, 2018):

I support the suggestion, but note that you can achieve the same result using environment variables, without modifying any scripts. Just pass these two to docker (either directly, or using vpn.env)

VPN_DNS_SRV1=1.1.1.1
VPN_DNS_SRV2=1.0.0.1
<!-- gh-comment-id:391456640 --> @maltalex commented on GitHub (May 23, 2018): I support the suggestion, but note that you can achieve the same result using environment variables, without modifying any scripts. Just pass these two to docker (either directly, or using `vpn.env`) ``` VPN_DNS_SRV1=1.1.1.1 VPN_DNS_SRV2=1.0.0.1 ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-ipsec-vpn-server#59
No description provided.