mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-07 14:09:07 +02:00
include NonAuthoritative zone in tests
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"description": "Nameserver group and applied custom zone distributed to grp-dev; peer-a (with an extra DNS label) receives them, peer-c outside the group receives neither.",
|
||||
"description": "Nameserver group and applied custom zones distributed to grp-dev; peer-a (with an extra DNS label) receives them, peer-c is outside that group and receives only the zone distributed to grp-ops. Zone flags travel per zone: both grp-dev zones are match-only (NonAuthoritative), only search-off.internal. disables the search domain, and the built-in peer zone stays authoritative.",
|
||||
"peers": [
|
||||
"peer-a",
|
||||
"peer-c"
|
||||
|
||||
Vendored
+21
@@ -45,6 +45,27 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Domain": "search-off.internal.",
|
||||
"SearchDomainDisabled": true,
|
||||
"NonAuthoritative": true,
|
||||
"Records": [
|
||||
{
|
||||
"Name": "alias.search-off.internal.",
|
||||
"Type": "5",
|
||||
"Class": "IN",
|
||||
"TTL": "300",
|
||||
"RData": "app.search-off.internal."
|
||||
},
|
||||
{
|
||||
"Name": "app.search-off.internal.",
|
||||
"Type": "1",
|
||||
"Class": "IN",
|
||||
"TTL": "300",
|
||||
"RData": "10.10.0.6"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Domain": "netbird.test.",
|
||||
"Records": [
|
||||
|
||||
Vendored
+13
@@ -22,6 +22,19 @@
|
||||
"RData": "100.64.0.3"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Domain": "ops-only.internal.",
|
||||
"NonAuthoritative": true,
|
||||
"Records": [
|
||||
{
|
||||
"Name": "tool.ops-only.internal.",
|
||||
"Type": "1",
|
||||
"Class": "IN",
|
||||
"TTL": "300",
|
||||
"RData": "10.10.0.7"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ForwarderPort": "22054"
|
||||
|
||||
Vendored
+22
@@ -47,6 +47,28 @@
|
||||
{"Name": "db.corp.internal.", "Type": 1, "Class": "IN", "TTL": 300, "RData": "10.10.0.5"}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"DistributionGroups": ["grp-dev"],
|
||||
"Zone": {
|
||||
"Domain": "search-off.internal.",
|
||||
"NonAuthoritative": true,
|
||||
"SearchDomainDisabled": true,
|
||||
"Records": [
|
||||
{"Name": "app.search-off.internal.", "Type": 1, "Class": "IN", "TTL": 300, "RData": "10.10.0.6"},
|
||||
{"Name": "alias.search-off.internal.", "Type": 5, "Class": "IN", "TTL": 300, "RData": "app.search-off.internal."}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"DistributionGroups": ["grp-ops"],
|
||||
"Zone": {
|
||||
"Domain": "ops-only.internal.",
|
||||
"NonAuthoritative": true,
|
||||
"Records": [
|
||||
{"Name": "tool.ops-only.internal.", "Type": 1, "Class": "IN", "TTL": 300, "RData": "10.10.0.7"}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user