Ross McFarland
c5a9ba518b
Processors.process_zone_config, dynamic zone config converted
* `Processors.process_zone_config` method added to allow processors that work
with the zone config data. Configured with `manager.zone-processors: []`,
default is ['dynamic-zone-config']
* Converted dynamic zone config to be a processors ^, if zone-processors are
explicitely configured and dynamic zone config is desired
`dyanmic-zone-config` must be included in the list as the desired position
* Loads of additional testin/vetting for the above functionality
2 years ago
Ross McFarland
4c09f4bc71
Support for nested config env variable expansion
2 years ago
Ross McFarland
523a188e1d
explicit test for values and value
2 years ago
Ross McFarland
cb09b590e7
ValueMixin._data always includes 'value'
2 years ago
Ross McFarland
5568dc6be1
Add Processor.process_source_and_target_zones
2 years ago
Ross McFarland
1a5c9a2c5e
Flip ValuesMixin._values logic to handle/have key in all cases
2 years ago
Ross McFarland
6f6cb79854
Fix bug with Record.copy when values is an empty list []
2 years ago
Ross McFarland
5b6b53bca0
modify desired, not existing
2 years ago
Ross McFarland
03f37e3ae9
Fix bug with Record.copy when values is an empty list []
2 years ago
Ross McFarland
e612e2b885
Fix MetaProcessor/Manager.include_meta where include_provider
2 years ago
Ross McFarland
93a00f12a9
Add Processor.process_source_and_target_zones
2 years ago
Ross McFarland
0332b34f72
deprecation.deprecated, use official mechinism for deprecations
2 years ago
Ross McFarland
65e87d0a46
Fixed Record.data, now includes the octodns special section data
2 years ago
Ross McFarland
d2baf6db8f
Prefer __version__ over __VERSION__ internally, fallback when referencing modules
2 years ago
Ross McFarland
6cd933a834
Add include_target option to most processor.filter processors
2 years ago
Ross McFarland
e9cdacdd13
Include octodns special section in record __repr__
2 years ago
Solvik Blum
abdab8f6d8
fix lint
2 years ago
Solvik Blum
3ed7a88e34
add test to cover CIDR validation in config for filters
2 years ago
Solvik Blum
f9cb31b602
add a txt in tests so we can see the filter effectively only handles A/AAAA
2 years ago
Solvik Blum
f5fd68bb7e
add NetworkValueRejectlistFilter and NetworkValueAllowlistFilter processors
2 years ago
Ross McFarland
1b293253d9
ExcludeRootNsChanges added w/tests
2 years ago
Ross McFarland
ded53023e7
add support for chunked values to ValuesMixin.rrs
2 years ago
Ross McFarland
e6ad64f25f
ZoneNameFilter error defaults to True
2 years ago
Ross McFarland
da818d12e4
ZoneNameFilter to error/ignore when record names end with the zone name
2 years ago
Ross McFarland
bca8db6c8f
parse_rdata_text supports unquoting things (powerdns)
2 years ago
Ross McFarland
76e330a7c3
Add source parameter to Record.from_rrs
2 years ago
Viranch Mehta
63c5118bcd
Fix validation for dynamic records with IPv4+IPv6 subnets
2 years ago
Martin Frausing
533cd12128
Support both the both sets of field names for DS
2 years ago
Martin Frausing
43d380d76a
The record got field names from the DNSKEY record by accident, fix this
Basically changing from
https://www.rfc-editor.org/rfc/rfc4034.html#section-2.1 to https://www.rfc-editor.org/rfc/rfc4034.html#section-5.1
So:
flags -> key_tag
protocol -> algorithm
algorithm -> digest_type
public_key -> digest
2 years ago
Viranch Mehta
11118efe93
Raise exception when no yamls are found for a zone
2 years ago
Viranch Mehta
e92c1079c9
Fix wrong re-use of sources for dynamic zones
2 years ago
Viranch Mehta
0181158953
Include sources only if they exist
2 years ago
Kiran Naidoo
b20113e1a9
Fix typo when loading auto-arpa config
Resolved a typo that prevented the auto-arpa configuration options from
loading.
2 years ago
Ross McFarland
3343c4ba51
MetaProcessor implementation and testing
2 years ago
Ross McFarland
8177ee6926
Revert "yaml provider is either split or zonefile, not both"
This reverts commit 6f39fcc5f7 .
2 years ago
Ross McFarland
6f39fcc5f7
yaml provider is either split or zonefile, not both
2 years ago
Ross McFarland
c64e279dd2
Add support for !include YAML directive
2 years ago
Ross McFarland
857d5e2a61
Record's carry context, Zone exceptions make use of it to help with error messages
2 years ago
Ross McFarland
e48759791c
forgot to add shared.yaml test file
2 years ago
Ross McFarland
cb28fa0e26
YamlProvider support for shared file, loaded into all zones
2 years ago
Ross McFarland
779f2f44fa
Rename split_only to disable_zonefile. More accurate and future-proof. Also improve doc a bit
2 years ago
Ross McFarland
aab868f345
Make sure the only* record isn't showing up when it shouldn't
2 years ago
Ross McFarland
3f7234bfd3
Move sources tests into correct class
2 years ago
Ross McFarland
61d3ed884a
More YamlProvider details testing
2 years ago
Ross McFarland
e473c32bfb
Add some directories to ignore
2 years ago
Ross McFarland
608e367a9b
More extensive tests of YamlProvider.list_zones
2 years ago
Ross McFarland
5b8498a550
Refactory yaml source logic out to make it easily testable
2 years ago
Ross McFarland
11ddb20005
Refactory YamlProvider and SplitYamlProvider into a unified class
2 years ago
Kir
316ed95304
Reformatting test file
2 years ago
Kirill Losev
4c86566f82
rdata_text for SrvValue
Fixing #1038
2 years ago