Update dnsconfig.js

This commit is contained in:
William Harrison
2024-10-17 20:06:04 +08:00
committed by GitHub
parent d73d46d18f
commit a8860b4fb9
+1 -1
View File
@@ -113,7 +113,7 @@ for (var idx in domains) {
// Note: URL records are not actual DNS records, we have a server configured to support them instead.
if (domainData.record.URL) {
commit[domainName].push(
A(subdomainName, "45.85.238.5", proxy.on)
A(subdomainName, "45.85.238.5", proxy.on),
TXT("_redirect" + subdomainName, "v=txtv0;type=host;to=" + domainData.record.URL)
);
}