Ross McFarland
b539cb0a4f
more consistent naming, pural secrets
2 years ago
Ross McFarland
4b229fbf82
_build_kwargs fix, don't convert int-y things to floats
2 years ago
Ross McFarland
a48881beb4
pass at adding a processor that adds missing trailing dots
2 years ago
Ross McFarland
6d778b3b67
Include tests of secret_handlers from config yaml and some of that's implementation details
2 years ago
Ross McFarland
60bc4193f8
configured secret handlers & tests of that configuration
2 years ago
Ross McFarland
ca2c7112a1
Secrets handlers support
Add functionality that enables configurable secrets sources, with a
hard-coded `env` that provides the existing environmental variable
support.
2 years ago
Ross McFarland
9f58b8e482
Record.octodns formalized, Record._octodns deprecated
Both point to the same thing via properties
2 years ago
Ross McFarland
b148a4c716
Add test_records_have_rdata_methods, implement them for URLFWD
2 years ago
Ross McFarland
c04a320cfd
Treat value/values interchangably when configuring records
- All of the `if data isn't a list turn it into one in the value type
validates are no longer needed, they'll always be passed a list now`
- Special case to handle PTR/target values since it previously was
single value and is now values
See README for more information
2 years ago
Nullreff
e9d8b02365
Add filters for checking record values
Create two new filters, ValueAllowlistFilter and ValueRejectlistFilter
that allow checing the value(s) of records to include or exclude,
similar to the name filters that alread exist
2 years ago
Ross McFarland
3beab65e8b
Add Record.values not a single string validation
2 years ago
Martin Frausing
68e1178ac7
Add list_zones to AutoArpa
- This makes it possible to use dynamic zone config with AutoArpa
- Document what gotchas that entails
- Add tests both with another source (for generating zones to populate) and without (no zones to populate)
2 years ago
Ross McFarland
119de9b421
Add ASCII validation to ChunkedValue, TXT/SPF
2 years ago
Ross McFarland
98a1175399
Update tests/test_octodns_manager.py
2 years ago
Ross McFarland
9e1aa7b8ed
Apply suggestions from code review
2 years ago
Alizey Jalil
dc4addc837
Removed the specific config file used missing zone test use case
2 years ago
Alizey Jalil
a2a502987e
Added test for missing zone
2 years ago
Alizey Jalil
c816fe7af0
Added test for missing zone file
2 years ago
Ross McFarland
780fa2a24b
Add support for checksum matching
2 years ago
Ross McFarland
d85c925ebf
Greatly simplify MetaProcessor and (more) thoroughly test it
2 years ago
Ross McFarland
b8dab67d6a
Fix bug in MetaProcessor up to date record check
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