-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8dcd0ae
commit 2e753eb
Showing
48 changed files
with
338 additions
and
372 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
|
||
var REG = NewRegistrar("Third-Party","NONE"); | ||
var REG = NewRegistrar("Third-Party", "NONE"); | ||
var CF = NewDnsProvider("Cloudflare", "CLOUDFLAREAPI"); | ||
|
||
D("foo.com",REG,DnsProvider(CF), | ||
A("@","1.2.3.4") | ||
); | ||
D("foo.com", REG, DnsProvider(CF), | ||
A("@", "1.2.3.4") | ||
); |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
var REG = NewRegistrar("Third-Party","NONE"); | ||
var REG = NewRegistrar("Third-Party", "NONE"); | ||
var CF = NewDnsProvider("Cloudflare", "CLOUDFLAREAPI") | ||
D("foo.com",REG,DnsProvider(CF), | ||
A("@","1.2.3.4",TTL(42)) | ||
); | ||
D("foo.com", REG, DnsProvider(CF), | ||
A("@", "1.2.3.4", TTL(42)) | ||
); |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
|
||
var CLOUDFLARE = NewRegistrar("Cloudflare","CLOUDFLAREAPI"); | ||
D("foo.com",CLOUDFLARE, | ||
A("@","1.2.3.4",{"cloudflare_proxy":"ON"}) | ||
); | ||
var CLOUDFLARE = NewRegistrar("Cloudflare", "CLOUDFLAREAPI"); | ||
D("foo.com", CLOUDFLARE, | ||
A("@", "1.2.3.4", { | ||
"cloudflare_proxy": "ON" | ||
}) | ||
); |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
var REG = NewRegistrar("Third-Party","NONE"); | ||
var REG = NewRegistrar("Third-Party", "NONE"); | ||
var CF = NewDnsProvider("Cloudflare", "CLOUDFLAREAPI") | ||
|
||
var BASE = IP("1.2.3.4") | ||
|
||
D("foo.com",REG,DnsProvider(CF,0), | ||
A("@",BASE), | ||
A("p1",BASE+1), | ||
A("p255", BASE+255) | ||
); | ||
D("foo.com", REG, DnsProvider(CF, 0), | ||
A("@", BASE), | ||
A("p1", BASE + 1), | ||
A("p255", BASE + 255) | ||
); |
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 |
---|---|---|
@@ -1,23 +1,5 @@ | ||
D("foo.com", "none" | ||
, IGNORE_NAME("testignore") | ||
, IGNORE_NAME("testignore2", "A") | ||
, IGNORE_NAME("testignore3", "A, CNAME, TXT") | ||
, IGNORE_NAME("testignore4", "*") | ||
, IGNORE_TARGET("testtarget", "CNAME") | ||
, IGNORE("legacyignore") | ||
, IGNORE_NAME("@") | ||
, IGNORE_TARGET("@", "CNAME") | ||
); | ||
D("diff2.com", "none" | ||
, IGNORE("mylabel") | ||
, IGNORE("mylabel2", "") | ||
, IGNORE("mylabel3", "", "") | ||
, IGNORE("", "A") | ||
, IGNORE("", "A,AAAA") | ||
, IGNORE("", "", "mytarget") | ||
, IGNORE("labelc", "CNAME", "targetc") | ||
// Compatibility mode: | ||
, IGNORE_NAME("nametest") | ||
, IGNORE_TARGET("targettest1") | ||
, IGNORE_TARGET("targettest2", "A") | ||
D("foo.com", "none", IGNORE_NAME("testignore"), IGNORE_NAME("testignore2", "A"), IGNORE_NAME("testignore3", "A, CNAME, TXT"), IGNORE_NAME("testignore4", "*"), IGNORE_TARGET("testtarget", "CNAME"), IGNORE("legacyignore"), IGNORE_NAME("@"), IGNORE_TARGET("@", "CNAME")); | ||
D("diff2.com", "none", IGNORE("mylabel"), IGNORE("mylabel2", ""), IGNORE("mylabel3", "", ""), IGNORE("", "A"), IGNORE("", "A,AAAA"), IGNORE("", "", "mytarget"), IGNORE("labelc", "CNAME", "targetc") | ||
// Compatibility mode: | ||
, IGNORE_NAME("nametest"), IGNORE_TARGET("targettest1"), IGNORE_TARGET("targettest2", "A") | ||
); |
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 |
---|---|---|
@@ -1,12 +1,22 @@ | ||
var REG = NewRegistrar("Third-Party","NONE"); | ||
var REG = NewRegistrar("Third-Party", "NONE"); | ||
var CF = NewDnsProvider("Cloudflare", "CLOUDFLAREAPI") | ||
|
||
var TRANSFORM_INT = [ | ||
{low: "0.0.0.0", high: "1.1.1.1", newBase: "2.2.2.2" }, | ||
{low: "1.1.1.1", high: IP("2.2.2.2"), newBase: ["3.3.3.3","4.4.4.4",IP("5.5.5.5")]} , | ||
{low: "1.1.1.1", high: IP("2.2.2.2"), newIP: ["3.3.3.3","4.4.4.4",IP("5.5.5.5")]} | ||
] | ||
var TRANSFORM_INT = [{ | ||
low: "0.0.0.0", | ||
high: "1.1.1.1", | ||
newBase: "2.2.2.2" | ||
}, { | ||
low: "1.1.1.1", | ||
high: IP("2.2.2.2"), | ||
newBase: ["3.3.3.3", "4.4.4.4", IP("5.5.5.5")] | ||
}, { | ||
low: "1.1.1.1", | ||
high: IP("2.2.2.2"), | ||
newIP: ["3.3.3.3", "4.4.4.4", IP("5.5.5.5")] | ||
}] | ||
|
||
D("foo.com",REG,DnsProvider(CF), | ||
A("@","1.2.3.4",{transform: TRANSFORM_INT}) | ||
); | ||
D("foo.com", REG, DnsProvider(CF), | ||
A("@", "1.2.3.4", { | ||
transform: TRANSFORM_INT | ||
}) | ||
); |
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 |
---|---|---|
@@ -1,2 +1 @@ | ||
|
||
require("./import.js") |
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 |
---|---|---|
@@ -1 +1 @@ | ||
D(REV("1.2.0.0/16"),"none"); | ||
D(REV("1.2.0.0/16"), "none"); |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
D("foo.com","none", | ||
ALIAS("@","foo.com.") | ||
); | ||
D("foo.com", "none", | ||
ALIAS("@", "foo.com.") | ||
); |
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 |
---|---|---|
@@ -1,4 +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") | ||
); | ||
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
D("foo.com","none", | ||
A("@","1.2.3.4", TTL("300s")), | ||
A("a","1.2.3.5", TTL("300")), | ||
A("b","1.2.3.6", TTL("3m")), | ||
A("c","1.2.3.7", TTL("3h")), | ||
A("d","1.2.3.8", TTL("3d")) | ||
D("foo.com", "none", | ||
A("@", "1.2.3.4", TTL("300s")), | ||
A("a", "1.2.3.5", TTL("300")), | ||
A("b", "1.2.3.6", TTL("3m")), | ||
A("c", "1.2.3.7", TTL("3h")), | ||
A("d", "1.2.3.8", TTL("3d")) | ||
); |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
D("foo.com","none", | ||
MX("@",15,"foo.com.") | ||
D("foo.com", "none", | ||
MX("@", 15, "foo.com.") | ||
); |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
D("foo.com","none", | ||
D("foo.com", "none", | ||
// Allow letsencrypt to issue certificate for this domain | ||
CAA("@","issue","letsencrypt.org"), | ||
CAA("@", "issue", "letsencrypt.org"), | ||
// Allow no CA to issue wildcard certificate for this domain | ||
CAA("@","issuewild",";"), | ||
CAA("@", "issuewild", ";"), | ||
// Report all violation to test@example.com. If CA does not support | ||
// this record then refuse to issue any certificate | ||
CAA("@", "iodef", "mailto:[email protected]", CAA_CRITICAL), | ||
|
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
D("foo.com","none", | ||
TLSA("_443._tcp",3,1,1,"MDFiYTQ3MTljODBiNmZlOTExYjA5MWE3YzA1MTI0YjY0ZWVlY2U5NjRlMDljMDU4ZWY4Zjk4MDVkYWNhNTQ2YiAgLQo=") | ||
D("foo.com", "none", | ||
TLSA("_443._tcp", 3, 1, 1, "MDFiYTQ3MTljODBiNmZlOTExYjA5MWE3YzA1MTI0YjY0ZWVlY2U5NjRlMDljMDU4ZWY4Zjk4MDVkYWNhNTQ2YiAgLQo=") | ||
); |
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 |
---|---|---|
@@ -1,7 +1 @@ | ||
D("foo.com","none" | ||
, TXT("a","simple") | ||
, TXT("b","ws at end ") | ||
, TXT("c",["one"]) | ||
, TXT("d",["bonie", "clyde"]) | ||
, TXT("e",["straw", "wood", "brick"]) | ||
); | ||
D("foo.com", "none", TXT("a", "simple"), TXT("b", "ws at end "), TXT("c", ["one"]), TXT("d", ["bonie", "clyde"]), TXT("e", ["straw", "wood", "brick"])); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
D("foo.com", "none", | ||
R53_ALIAS("mxtest", "MX", "foo.com."), | ||
R53_ALIAS("atest", "A", "foo.com."), | ||
R53_ALIAS("atest", "A", "foo.com.", R53_ZONE("Z2FTEDLFRTF")), | ||
R53_ALIAS("aevaltargethealthtest", "A", "foo.com.", R53_EVALUATE_TARGET_HEALTH(true)), | ||
R53_ALIAS("aaaatest", "AAAA", "foo.com."), | ||
R53_ALIAS("aaaatest", "AAAA", "foo.com.", R53_ZONE("ERERTFGFGF")), | ||
R53_ALIAS("cnametest", "CNAME", "foo.com."), | ||
R53_ALIAS("ptrtest", "PTR", "foo.com."), | ||
R53_ALIAS("txttest", "TXT", "foo.com."), | ||
R53_ALIAS("srvtest", "SRV", "foo.com."), | ||
R53_ALIAS("spftest", "SPF", "foo.com."), | ||
R53_ALIAS("caatest", "CAA", "foo.com."), | ||
R53_ALIAS("naptrtest", "NAPTR", "foo.com.") | ||
); | ||
R53_ALIAS("mxtest", "MX", "foo.com."), | ||
R53_ALIAS("atest", "A", "foo.com."), | ||
R53_ALIAS("atest", "A", "foo.com.", R53_ZONE("Z2FTEDLFRTF")), | ||
R53_ALIAS("aevaltargethealthtest", "A", "foo.com.", R53_EVALUATE_TARGET_HEALTH(true)), | ||
R53_ALIAS("aaaatest", "AAAA", "foo.com."), | ||
R53_ALIAS("aaaatest", "AAAA", "foo.com.", R53_ZONE("ERERTFGFGF")), | ||
R53_ALIAS("cnametest", "CNAME", "foo.com."), | ||
R53_ALIAS("ptrtest", "PTR", "foo.com."), | ||
R53_ALIAS("txttest", "TXT", "foo.com."), | ||
R53_ALIAS("srvtest", "SRV", "foo.com."), | ||
R53_ALIAS("spftest", "SPF", "foo.com."), | ||
R53_ALIAS("caatest", "CAA", "foo.com."), | ||
R53_ALIAS("naptrtest", "NAPTR", "foo.com.") | ||
); |
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 |
---|---|---|
@@ -1 +1 @@ | ||
require('./complexImports/base.js'); | ||
require('./complexImports/base.js'); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
D("foo.com","none", | ||
SSHFP("@",1,1,"66c7d5540b7d75a1fb4c84febfa178ad99bdd67c"), | ||
SSHFP("@",1,2,"745a635bc46a397a5c4f21d437483005bcc40d7511ff15fbfafe913a081559bc"), | ||
SSHFP("@",2,1,"66c7d5540b7d75a1fb4c84febfa178ad99bdd67c"), | ||
SSHFP("@",2,2,"745a635bc46a397a5c4f21d437483005bcc40d7511ff15fbfafe913a081559bc"), | ||
SSHFP("@",3,1,"66c7d5540b7d75a1fb4c84febfa178ad99bdd67c"), | ||
SSHFP("@",3,2,"745a635bc46a397a5c4f21d437483005bcc40d7511ff15fbfafe913a081559bc"), | ||
SSHFP("@",4,1,"66c7d5540b7d75a1fb4c84febfa178ad99bdd67c"), | ||
SSHFP("@",4,2,"745a635bc46a397a5c4f21d437483005bcc40d7511ff15fbfafe913a081559bc") | ||
D("foo.com", "none", | ||
SSHFP("@", 1, 1, "66c7d5540b7d75a1fb4c84febfa178ad99bdd67c"), | ||
SSHFP("@", 1, 2, "745a635bc46a397a5c4f21d437483005bcc40d7511ff15fbfafe913a081559bc"), | ||
SSHFP("@", 2, 1, "66c7d5540b7d75a1fb4c84febfa178ad99bdd67c"), | ||
SSHFP("@", 2, 2, "745a635bc46a397a5c4f21d437483005bcc40d7511ff15fbfafe913a081559bc"), | ||
SSHFP("@", 3, 1, "66c7d5540b7d75a1fb4c84febfa178ad99bdd67c"), | ||
SSHFP("@", 3, 2, "745a635bc46a397a5c4f21d437483005bcc40d7511ff15fbfafe913a081559bc"), | ||
SSHFP("@", 4, 1, "66c7d5540b7d75a1fb4c84febfa178ad99bdd67c"), | ||
SSHFP("@", 4, 2, "745a635bc46a397a5c4f21d437483005bcc40d7511ff15fbfafe913a081559bc") | ||
); |
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 |
---|---|---|
@@ -1,3 +1 @@ | ||
D("foo.com", "none" | ||
, IGNORE("\\*.testignore") | ||
); | ||
D("foo.com", "none", IGNORE("\\*.testignore")); |
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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
D("nothing.com","none" | ||
D("nothing.com", "none"); | ||
D("with.com", "none", | ||
AUTODNSSEC_ON | ||
); | ||
D("with.com","none", | ||
AUTODNSSEC_ON | ||
); | ||
D("without.com","none", | ||
AUTODNSSEC_OFF | ||
D("without.com", "none", | ||
AUTODNSSEC_OFF | ||
); |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
D("foo.com", "none", | ||
AZURE_ALIAS("atest", "A", "foo.com."), | ||
AZURE_ALIAS("aaaatest", "AAAA", "foo.com."), | ||
AZURE_ALIAS("cnametest", "CNAME", "foo.com.") | ||
); | ||
AZURE_ALIAS("atest", "A", "foo.com."), | ||
AZURE_ALIAS("aaaatest", "AAAA", "foo.com."), | ||
AZURE_ALIAS("cnametest", "CNAME", "foo.com.") | ||
); |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
D("foo.com","none", | ||
D("foo.com", "none", | ||
DS("@", 1000, 13, 2, "AABBCCDDEEFF"), | ||
DS("@", 1, 1, 1, "FFFF") | ||
); |
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.