mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-09-03 18:16:53 +00:00
publish _redirect TXT records for URL records
This commit is contained in:
@@ -137,6 +137,7 @@ for (var subdomain in domains) {
|
||||
// Handle URL records
|
||||
if (domainData.record.URL) {
|
||||
records.push(A(subdomainName, IP("192.0.2.1"), CF_PROXY_ON));
|
||||
records.push(TXT("_redirect." + subdomainName, domainData.record.URL));
|
||||
}
|
||||
|
||||
// Handle reserved domains
|
||||
|
||||
Reference in New Issue
Block a user