From 7bd3bacfcc0077f5fd10938613de29ec7cad63c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E5=9B=BD=E4=BC=9F?= <366193849@qq.com>
Date: Tue, 28 Sep 2021 17:45:06 +0800
Subject: [PATCH] =?UTF-8?q?cryptDns=E9=87=8D=E8=AF=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
FastGithub.DomainResolve/DnsClient.cs | 1 +
.../FastGithub.DomainResolve.csproj | 12 ++++++++++
FastGithub.DomainResolve/domains.json | 22 +++++++++++++++++++
3 files changed, 35 insertions(+)
create mode 100644 FastGithub.DomainResolve/domains.json
diff --git a/FastGithub.DomainResolve/DnsClient.cs b/FastGithub.DomainResolve/DnsClient.cs
index 06116b8..2751488 100644
--- a/FastGithub.DomainResolve/DnsClient.cs
+++ b/FastGithub.DomainResolve/DnsClient.cs
@@ -81,6 +81,7 @@ namespace FastGithub.DomainResolve
if (cryptDns != null)
{
yield return cryptDns;
+ yield return cryptDns;
}
foreach (var fallbackDns in this.fastGithubConfig.FallbackDns)
diff --git a/FastGithub.DomainResolve/FastGithub.DomainResolve.csproj b/FastGithub.DomainResolve/FastGithub.DomainResolve.csproj
index 0ad99be..ba4e9a8 100644
--- a/FastGithub.DomainResolve/FastGithub.DomainResolve.csproj
+++ b/FastGithub.DomainResolve/FastGithub.DomainResolve.csproj
@@ -17,4 +17,16 @@
+
+
+
+
+
+
+ PreserveNewest
+ true
+ PreserveNewest
+
+
+
diff --git a/FastGithub.DomainResolve/domains.json b/FastGithub.DomainResolve/domains.json
new file mode 100644
index 0000000..71d5fc7
--- /dev/null
+++ b/FastGithub.DomainResolve/domains.json
@@ -0,0 +1,22 @@
+[
+ "github.com",
+ "v2ex.com",
+ "alive.github.com",
+ "api.github.com",
+ "collector.githubapp.com",
+ "github.githubassets.com",
+ "avatars.githubusercontent.com",
+ "camo.githubusercontent.com",
+ "github-releases.githubusercontent.com",
+ "raw.githubusercontent.com",
+ "www.gravatar.com",
+ "onedrive.live.com",
+ "cdn.v2ex.com",
+ "microsoft.github.io",
+ "fonts.geekzu.org",
+ "gapis.geekzu.org",
+ "i.stack.imgur.com",
+ "skyapi.onedrive.live.com",
+ "codeproject.freetls.fastly.net",
+ "codeproject.global.ssl.fastly.net"
+]
\ No newline at end of file