-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
dc1649e
commit d9ea8e2
Showing
5 changed files
with
281 additions
and
195 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 |
---|---|---|
@@ -0,0 +1,109 @@ | ||
{ | ||
"server": | ||
{ | ||
"listen": | ||
[ | ||
{ | ||
"type": "UDP+TCP", | ||
"port": 8053, | ||
"addr": "::1" | ||
}, | ||
{ | ||
"type": "UDP-only", | ||
"port": 8054, | ||
"addr": "::1" | ||
}, | ||
{ | ||
"type": "TCP", | ||
"port": 8055, | ||
"addr": "::1" | ||
}, | ||
{ | ||
"type": "TLS", | ||
"port": 8056, | ||
"addr": "::1", | ||
"certificate": "/home/philip/src/domain/examples/sample.pem", | ||
"key": "/home/philip/src/domain/examples/sample.rsa" | ||
} | ||
] | ||
}, | ||
"upstream": | ||
{ | ||
"type": "lb", | ||
"cache": | ||
{ | ||
"enabled": true | ||
}, | ||
"validator": | ||
{ | ||
"enabled": true, | ||
"Xtrust-anchor": "root.key" | ||
}, | ||
"upstreams": | ||
[ | ||
{ | ||
"label": "Cloudflare IPv4", | ||
"qps": 1, | ||
"burst-interval": 10, | ||
"upstream": | ||
{ | ||
"type": "TLS", | ||
"servername": "one.one.one.one", | ||
"addr": "1.1.1.1" | ||
} | ||
}, | ||
{ | ||
"label": "Cloudflare IPv6", | ||
"qps": 10, | ||
"burst-interval": 10, | ||
"upstream": | ||
{ | ||
"type": "TLS", | ||
"servername": "one.one.one.one", | ||
"addr": "2606:4700:4700::1111" | ||
} | ||
}, | ||
{ | ||
"label": "Google IPv4", | ||
"qps": 1, | ||
"burst-interval": 10, | ||
"upstream": | ||
{ | ||
"type": "TLS", | ||
"servername": "dns.google", | ||
"addr": "8.8.8.8" | ||
} | ||
}, | ||
{ | ||
"label": "Google IPv6", | ||
"qps": 10, | ||
"burst-interval": 10, | ||
"upstream": | ||
{ | ||
"type": "TLS", | ||
"servername": "dns.google", | ||
"addr": "2001:4860:4860::8888" | ||
} | ||
}, | ||
{ | ||
"label": "Quad9 IPv4", | ||
"qps": 1, | ||
"upstream": | ||
{ | ||
"type": "TLS", | ||
"servername": "dns9.quad9.net", | ||
"addr": "9.9.9.9" | ||
} | ||
}, | ||
{ | ||
"label": "Quad9 IPv6", | ||
"upstream": | ||
{ | ||
"type": "TLS", | ||
"servername": "dns9.quad9.net", | ||
"addr": "2620:fe::9" | ||
} | ||
} | ||
] | ||
} | ||
} |
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,172 @@ | ||
{ | ||
"server": | ||
{ | ||
"listen": | ||
[ | ||
{ | ||
"type": "UDP+TCP", | ||
"port": 8053, | ||
"addr": "::1" | ||
}, | ||
{ | ||
"type": "UDP-only", | ||
"port": 8054, | ||
"addr": "::1" | ||
}, | ||
{ | ||
"type": "TCP", | ||
"port": 8055, | ||
"addr": "::1" | ||
}, | ||
{ | ||
"type": "TLS", | ||
"port": 8056, | ||
"addr": "::1", | ||
"certificate": "/home/philip/src/domain/examples/sample.pem", | ||
"key": "/home/philip/src/domain/examples/sample.rsa" | ||
} | ||
] | ||
}, | ||
"upstream": | ||
{ | ||
"type": "qname-router", | ||
"domains": | ||
[ | ||
{ | ||
"name": "nl", | ||
"cache": | ||
{ | ||
"enabled": true | ||
}, | ||
"validator": | ||
{ | ||
"enabled": true | ||
}, | ||
"upstream": | ||
{ | ||
"type": "redundant", | ||
"upstreams": | ||
[ | ||
{ | ||
"upstream": | ||
{ | ||
"type": "TLS", | ||
"servername": "one.one.one.one", | ||
"addr": "1.1.1.1" | ||
} | ||
}, | ||
{ | ||
"upstream": | ||
{ | ||
"type": "TLS", | ||
"servername": "one.one.one.one", | ||
"addr": "2606:4700:4700::1111" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "com", | ||
"cache": | ||
{ | ||
"enabled": true | ||
}, | ||
"validator": | ||
{ | ||
"enabled": true | ||
}, | ||
"upstream": | ||
{ | ||
"type": "lb", | ||
"upstreams": | ||
[ | ||
{ | ||
"label": "Google IPv4", | ||
"upstream": | ||
{ | ||
"type": "TLS", | ||
"servername": "dns.google", | ||
"addr": "8.8.8.8" | ||
} | ||
}, | ||
{ | ||
"label": "Google IPv6", | ||
"upstream": | ||
{ | ||
"type": "TLS", | ||
"servername": "dns.google", | ||
"addr": "2001:4860:4860::8888" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": ".", | ||
"cache": | ||
{ | ||
"enabled": true | ||
}, | ||
"validator": | ||
{ | ||
"enabled": true | ||
}, | ||
"upstream": | ||
{ | ||
"type": "TLS", | ||
"servername": "dns9.quad9.net", | ||
"addr": "9.9.9.9" | ||
} | ||
}, | ||
{ | ||
"name": "org", | ||
"cache": | ||
{ | ||
"enabled": true | ||
}, | ||
"validator": | ||
{ | ||
"enabled": true | ||
}, | ||
"upstream": | ||
{ | ||
"type": "UDP", | ||
"addr": "2620:fe::9" | ||
} | ||
}, | ||
{ | ||
"name": "de", | ||
"cache": | ||
{ | ||
"enabled": true | ||
}, | ||
"validator": | ||
{ | ||
"enabled": true | ||
}, | ||
"upstream": | ||
{ | ||
"type": "UDP-only", | ||
"addr": "2620:fe::9" | ||
} | ||
}, | ||
{ | ||
"name": "be", | ||
"cache": | ||
{ | ||
"enabled": true | ||
}, | ||
"validator": | ||
{ | ||
"enabled": true | ||
}, | ||
"upstream": | ||
{ | ||
"type": "TCP", | ||
"addr": "2620:fe::9" | ||
} | ||
} | ||
] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.