From 7597b540c093035beb41ea516047f4cfb34c8568 Mon Sep 17 00:00:00 2001 From: vadym Date: Mon, 15 Jun 2020 12:11:57 -0700 Subject: [PATCH] 1. Added Reverton's DNS https://github.com/Revertron/wyrd --- .../io/github/chronosx88/yggdrasil/YggdrasilTunService.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt b/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt index bcfe3a8..7765524 100644 --- a/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt +++ b/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt @@ -64,8 +64,11 @@ class YggdrasilTunService : VpnService() { tunInterface = builder .addAddress(address, 7) .allowFamily(OsConstants.AF_INET) - //.addRoute("0200::", 7) .setMtu(MAX_PACKET_SIZE) + .addDnsServer("301:2522::53") + .addDnsServer("301:2923::53") + .addDnsServer("300:4523::53") + .addDnsServer("303:8b1a::53") .establish() tunInputStream = FileInputStream(tunInterface!!.fileDescriptor)