More DNS Prefetch IP Addresses (#271)

This commit is contained in:
Howard Wu 2021-03-05 21:24:40 +08:00 committed by GitHub
parent fc396aa2d3
commit e033350982
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,10 @@ public class DoHDNS implements Dns {
.url(HttpUrl.get("https://cloudflare-dns.com/dns-query"));
try {
builder.bootstrapDnsHosts(
InetAddress.getByName("104.16.248.249"),
InetAddress.getByName("104.16.249.249"),
InetAddress.getByName("104.16.111.25"),
InetAddress.getByName("104.16.112.25"),
InetAddress.getByName("162.159.36.1"),
InetAddress.getByName("162.159.46.1"),
InetAddress.getByName("1.1.1.1"),