Skip to content

Commit ad7c350

Browse files
committed
hotfix: use CloudFlare's DNS Resolver to avoid inconsistencies
1 parent f4f37c3 commit ad7c350

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

worker/domainVerification.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ async function verifyDomain (domainName, verificationTxt, cname) {
4646
error: null
4747
}
4848

49+
dnsPromises.setServers(['1.1.1.1']) // cloudflare DNS resolver
50+
4951
// TXT Records checking
5052
// TODO: we should give a randomly generated string to the user and check if it's included in the TXT record
5153
try {

0 commit comments

Comments
 (0)