Skip to content

Commit

Permalink
Merge pull request #13 from jmesserli/bugfix/config-revert
Browse files Browse the repository at this point in the history
fix: revert config changes for now, until nxc can be updated
  • Loading branch information
jmesserli authored Jul 11, 2024
2 parents 8854e76 + f99d1ba commit 5ae6e04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"namespaces": {
"dns": {
"primaries": [
"masters": [
{
"name": "ns1.example.com",
"ip": "192.168.0.1",
Expand All @@ -27,7 +27,7 @@
]
}
],
"additional_secondaries": {
"additional_slaves": {
"f.f.f.f.f.f.f.f.f.f.f.f.ip6.arpa": [
"ffff:fff:fff::21",
"ffff:fff:fff::22"
Expand Down
4 changes: 2 additions & 2 deletions config/config_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ type PrimaryConfig struct {
Zones []string `json:"zones"`
DnssecZones []string `json:"dnssec_zones"`
Includes []ZoneInclude `json:"includes"`
AdditionalSecondaries AdditionalSecondariesConfig `json:"additional_secondaries"`
AdditionalSecondaries AdditionalSecondariesConfig `json:"additional_slaves"`
}

type DNSNamespaceConfig struct {
Primaries []PrimaryConfig `json:"primaries"`
Primaries []PrimaryConfig `json:"masters"`
}

type NamespaceConfig struct {
Expand Down

0 comments on commit 5ae6e04

Please sign in to comment.