Ross McFarland
389938f5d3
Don't blow up when config keys are present, but None
2 years ago
Ross McFarland
3f7af27537
Include record_type in change data
2 years ago
Pieter Lexis
b19cf82d05
SVCB: sort rdata svcparams
2 years ago
Ross McFarland
8988d9b4ca
Quick pass at implementing PlanJson
2 years ago
Pieter Lexis
b53993e988
SVCB: force scvparamvalue lists to be lists
2 years ago
Pieter Lexis
8846468748
SVCB: Make SvcParams a dict
2 years ago
Pieter Lexis
23cc45dad9
SVCB: rename variables to RFC names
2 years ago
Pieter Lexis
f02f94e4ad
Add support for SVCB and HTTPS records
These records are defined in [RFC 9460](https://datatracker.ietf.org/doc/html/rfc9460 )
and are used for "Service Binding" and provide clients with all
connection information for network services.
Modern browsers already query for these records and several larger
websites have [adopted usage of HTTPS
records](https://blog.apnic.net/2023/12/18/use-of-https-resource-records/ )
already.
2 years ago
Timothy Berger
020834539b
Fix add_record() lenient check to allow managed sub-zone DS records
2 years ago
Ross McFarland
743c3b88db
Fix CAA value handling to support tags
2 years ago
William Gauthier
b15e04380d
Use the TTL value of the first ordered FQDN
2 years ago
Ross McFarland
6991786cc5
Fix for EnsureTrailingDots reverting value types back to strings
2 years ago
William Gauthier
a948b8233e
AutoArpa: Add an optional inherit_ttl option
2 years ago
Ross McFarland
16a6bb4f8a
Remove duplicative sort and add a more robust test.
2 years ago
Ross McFarland
a84ad6fe44
Fix auto arpa formatting
2 years ago
William Gauthier
aa85f7e533
Added suggestions from comments
2 years ago
William Gauthier
f26b7c1a43
Make things unique in populate instead of process_source_zone
2 years ago
William Gauthier
79b2a25684
Add a priority option to AutoArpa
2 years ago
Matt Cholick
885126d48f
Additional test checking Zone threshold defaults to None
2 years ago
Matt Cholick
2bb2d5643b
Add zone specific threshold config
2 years ago
Ross McFarland
c263b6e991
Fix env var int handling regression
2 years ago
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