mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
nixosTests.knot: test zone transfer over quic
This commit is contained in:
parent
a206ca147c
commit
3b7625845b
@ -66,6 +66,10 @@ in {
|
|||||||
"0.0.0.0@53"
|
"0.0.0.0@53"
|
||||||
"::@53"
|
"::@53"
|
||||||
];
|
];
|
||||||
|
listen-quic = [
|
||||||
|
"0.0.0.0@853"
|
||||||
|
"::@853"
|
||||||
|
];
|
||||||
automatic-acl = true;
|
automatic-acl = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -129,8 +133,13 @@ in {
|
|||||||
key = "xfr_key";
|
key = "xfr_key";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
remote.primary-quic = {
|
||||||
|
address = "192.168.0.1@853";
|
||||||
|
key = "xfr_key";
|
||||||
|
quic = true;
|
||||||
|
};
|
||||||
|
|
||||||
template.default = {
|
template.default = {
|
||||||
master = "primary";
|
|
||||||
# zonefileless setup
|
# zonefileless setup
|
||||||
# https://www.knot-dns.cz/docs/2.8/html/operation.html#example-2
|
# https://www.knot-dns.cz/docs/2.8/html/operation.html#example-2
|
||||||
zonefile-sync = "-1";
|
zonefile-sync = "-1";
|
||||||
@ -139,8 +148,14 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
zone = {
|
zone = {
|
||||||
"example.com".file = "example.com.zone";
|
"example.com" = {
|
||||||
"sub.example.com".file = "sub.example.com.zone";
|
master = "primary";
|
||||||
|
file = "example.com.zone";
|
||||||
|
};
|
||||||
|
"sub.example.com" = {
|
||||||
|
master = "primary-quic";
|
||||||
|
file = "sub.example.com.zone";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
log.syslog.any = "debug";
|
log.syslog.any = "debug";
|
||||||
|
Loading…
Reference in New Issue
Block a user