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)
2024-01-05 13:59:49 +01:00
Ross McFarland
d85c925ebf
Greatly simplify MetaProcessor and (more) thoroughly test it
2023-12-07 13:02:46 -08:00
Ross McFarland
b8dab67d6a
Fix bug in MetaProcessor up to date record check
2023-12-07 07:41:40 -08:00
Ross McFarland
5b6b53bca0
modify desired, not existing
2023-11-28 16:28:22 -08:00
Ross McFarland
e612e2b885
Fix MetaProcessor/Manager.include_meta where include_provider
2023-11-28 16:00:23 -08:00
Ross McFarland
93a00f12a9
Add Processor.process_source_and_target_zones
2023-11-28 15:42:53 -08:00
Ross McFarland
f776fc6e65
essentially ditch stacklevel/context for deprecation of config thigns (it's not useful)
2023-11-26 13:21:02 -08:00
Ross McFarland
4b73ea6bb4
Merge branch 'main' into formalize-deprecation
2023-11-26 13:14:06 -08:00
Ross McFarland
e03adfceda
Address datetime.utcnow deprecation in py 3.12
2023-11-22 18:31:52 -08:00
Ross McFarland
0332b34f72
deprecation.deprecated, use official mechinism for deprecations
2023-11-22 18:06:10 -08:00
Ross McFarland
7be540b86c
Record.lenient property added similar to other common/standard _octodns data
2023-11-14 14:19:14 -08:00
Ross McFarland
344bc2de5f
Remove stale script/sdist script
2023-11-12 15:45:43 -08:00
Ross McFarland
3e874c5a1d
Merge branch 'main' into processor-filter-target-optional
2023-11-12 14:49:32 -08:00
Ross McFarland
de3ec8e094
Move _NetworkValueBaseFilter down with it's children
2023-11-10 17:02:20 -08:00
Ross McFarland
be5d28dc56
doc new include_target filter prarams
2023-11-10 17:00:24 -08:00
Ross McFarland
6cd933a834
Add include_target option to most processor.filter processors
2023-11-10 16:57:01 -08:00
Ross McFarland
fa56dfaffd
fix minor formatting failure
2023-11-09 11:34:16 -08:00
Solvik Blum
010e5039cc
add mention to docstring that the NetworkValue filters won't touch anything except A/AAAA
2023-11-09 19:21:48 +01:00
Solvik
354b8c2967
do not recreate the ip list for each network test
...
Co-authored-by: Ross McFarland <rwmcfa1@gmail.com >
2023-11-09 17:47:55 +01:00
Solvik Blum
f5fd68bb7e
add NetworkValueRejectlistFilter and NetworkValueAllowlistFilter processors
2023-11-09 15:24:03 +01:00
Ross McFarland
1b293253d9
ExcludeRootNsChanges added w/tests
2023-10-31 18:56:59 -07:00
Ross McFarland
e6ad64f25f
ZoneNameFilter error defaults to True
2023-10-06 16:16:48 -07:00
Ross McFarland
da818d12e4
ZoneNameFilter to error/ignore when record names end with the zone name
2023-10-06 16:14:38 -07:00
Ross McFarland
eec7cadb86
refactor filter based processors to pull out shared logic
2023-10-06 15:10:47 -07:00
Ross McFarland
4dca7c18cc
Merge remote-tracking branch 'origin/main' into meta-processor
2023-09-10 14:46:17 -07:00
Ross McFarland
c0382c3043
Add MetaProcessor documentation
2023-09-10 14:07:28 -07:00
Ross McFarland
00cbf2e136
processor should use id not name
2023-09-10 12:49:11 -07:00
Ross McFarland
e61363b910
Need to add the meta record with lenient in case it's temp empty values
2023-09-10 12:48:12 -07:00
Ross McFarland
3343c4ba51
MetaProcessor implementation and testing
2023-09-10 12:30:26 -07:00
Ross McFarland
e8a88ac520
Deprecate SpfDnsLookupProcessor
2023-09-09 14:46:55 -07:00
Ross McFarland
2a99bd922f
Always add ownership flatting records with lenient=True
...
This is intened to address cases where NS delegation ownership records
are added to the parent zone when they technically should live in the
delegated child. They're only used as ~metadata so this is fine, so long
as the provider supports it.
2023-06-20 07:41:38 -07:00
Nathan Tat
7e931080f4
Pass lenient through to arpa processor
2023-05-30 18:14:36 -07:00
Ross McFarland
8ec75dc194
fix issue in OwnershipProcessor when last change is removed
2023-04-17 10:39:07 -07:00
Ross McFarland
4ff5b2fd9c
Merge remote-tracking branch 'origin/main' into je/arpa-matching-fix
2023-02-27 09:58:31 -08:00
Ross McFarland
c67d44fc8a
AutoArpa.replace -> populate_should_replace to match YamlProvider
2023-02-27 09:12:21 -08:00
Jeff Engleman
5d9c8d878a
prepend zone_name with . to ensure it matches on address boundary
2023-02-24 16:12:36 -05:00
Ross McFarland
074be92428
Add replace param to AutoArpa processor/provider
2023-02-20 13:32:04 -08:00
Samuel Parkinson
ab64a6b0e4
Replace use of removeprefix with slicing
2023-02-20 18:31:25 +00:00
Samuel Parkinson
1bb672ed05
Use List[str] to support older versions of Python
2023-02-20 18:24:47 +00:00
Samuel Parkinson
19e8a27110
Handle chunked values from DNS lookups
2023-02-20 18:17:43 +00:00
Samuel Parkinson
ae0497bb5a
Add class comment
2023-02-20 18:17:43 +00:00
Samuel Parkinson
063bf78b9f
Test nested include mechanisms
2023-02-20 18:17:43 +00:00
Samuel Parkinson
ee44779f7f
Error on ptr mechanisms
...
It has been deprecated in https://datatracker.ietf.org/doc/html/rfc7208#section-5.5 .
2023-02-20 18:17:43 +00:00
Samuel Parkinson
4e106818b0
Handle more sorts of TXT record values
2023-02-20 18:17:43 +00:00
Samuel Parkinson
dfc0760adf
Count extra lookups for the include mechanism
...
Co-authored-by: Jon Nangle <jon.nangle@ft.com >
2023-02-20 18:17:43 +00:00
Samuel Parkinson
dc446eefb9
Error on too many lookups from single SPF mechanisms
2023-02-20 18:17:43 +00:00
Ross McFarland
42ade94c33
Merge branch 'main' into delayed-arpa
2023-02-07 11:31:38 -08:00
Ross McFarland
6be0a8133a
isort import formatting
2023-01-22 13:54:19 -08:00
Ross McFarland
cfa7918f35
auto-arpa support for ptrs with multiple values
2023-01-22 07:10:36 -08:00
Ross McFarland
8dd690ac88
helps if you add the files, AutoArpa
2023-01-19 12:19:10 -08:00