forked from StackExchange/dnscontrol
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cloudflare Redirects (StackExchange#119)
* function sig * sig * some custom record infrastructure * CLOUDFLARE REDIRECTS! * comments out * guarding redirects behind provider metadata to manage * catch commas in js to ensure proper encoding. * gen * small fix * revendor otto * docs
- Loading branch information
Craig Peterson
committed
May 19, 2017
1 parent
9256c69
commit f9447a8
Showing
18 changed files
with
470 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
D("foo.com","none", | ||
CF_REDIRECT("test.foo.com","https://goo.com/$1"), | ||
CF_TEMP_REDIRECT("test.foo.com","https://goo.com/$1") | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"registrars": [], | ||
"dns_providers": [], | ||
"domains": [ | ||
{ | ||
"name": "foo.com", | ||
"registrar": "none", | ||
"dnsProviders": {}, | ||
"records": [ | ||
{ | ||
"type": "CF_REDIRECT", | ||
"name": "@", | ||
"target": "test.foo.com,https://goo.com/$1" | ||
}, | ||
{ | ||
"type": "CF_TEMP_REDIRECT", | ||
"name": "@", | ||
"target": "test.foo.com,https://goo.com/$1" | ||
} | ||
], | ||
"keepunknown": false | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.