mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 23:09:29 -07:00
Switch DNS lookup service
This commit is contained in:
parent
e71df8b1a6
commit
543e768981
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ async function verifyProof(url, fingerprint) {
|
||||||
if (/^dns:/.test(url)) {
|
if (/^dns:/.test(url)) {
|
||||||
output.type = "website";
|
output.type = "website";
|
||||||
output.display = url.replace(/dns:/, '').replace(/\?type=TXT/, '');
|
output.display = url.replace(/dns:/, '').replace(/\?type=TXT/, '');
|
||||||
output.proofUrl = `https://dns.google.com/resolve?name=${output.display}&type=TXT`;
|
output.proofUrl = `https://dns.shivering-isles.com/dns-query?name=${output.display}&type=TXT`;
|
||||||
output.proofUrlFetch = output.proofUrl;
|
output.proofUrlFetch = output.proofUrl;
|
||||||
output.url = `https://${output.display}`;
|
output.url = `https://${output.display}`;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue