Marc 'risson' Schmitt
2b454ccc22
manager: error when an alias zone is synced without its source
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2020-12-17 15:23:22 +01:00
Nikolay Denev
9549a0dec9
Ignore records with unsupported rrtypes and log warning.
2020-12-10 22:31:33 +00:00
Ross McFarland
a7bb6a306c
Remove corresponding nbsp's from manager tests
2020-12-10 08:39:31 -08:00
0xflotus
870c1209d3
Update test_octodns_provider_gandi.py
2020-12-08 09:51:10 +01:00
Peter Dave Hello
3dd7061a0c
Remove Azure allow empty CNAME, PTR value behavior
...
cc #84 #628
2020-11-22 21:10:47 +08:00
Peter Dave Hello
b7ed4aa57f
Improve ALIAS, CNAME, DNAME & PTR record FQDN validation
...
Use fqdn package to help verify if the record value is really valid.
The original behavior will treat value like `_.` or `.` be a valid
record, which is strange, and the real world may not have those use
cases at all.
The RFC documents are pretty long, as I didn't read them all or enough
to tell should it be valid or not by the spec, so I opened issue #612 to
discuss this case and got a positive response from the main maintainer
to have the change.
Close #628
2020-11-22 21:10:47 +08:00
Pieter Lexis
e02a8b3858
PowerDNS: Support pre-release versions
...
This commit strips any superfluous -alphaN (or beta or rc) from the
version number's minor number so it can be cast to an int. This will
allow octodns to sync to/from PowerDNS pre-releases.
2020-11-19 10:04:02 +01:00
Guillaume Gelin
9c20d0015b
Fix name length validation
...
Closes #626
2020-11-16 15:35:57 +01:00
Adam Smith
e98f21455d
Add CAA record support to AxfrSource/ZoneFileSource
2020-11-12 09:48:23 -08:00
Jonathan Leroy
09a02286f5
Merge branch 'master' into gandi-provider
2020-11-03 22:30:52 +01:00
Ross McFarland
7958a6e1d1
Merge remote-tracking branch 'origin/master' into alias-root-only
2020-11-02 13:47:23 -08:00
Jonathan Leroy
729fd01dbf
Merge branch 'master' into gandi-provider
2020-11-02 19:13:12 +01:00
Jonathan Leroy
05ce134454
Add tests for zone creation
2020-11-02 18:02:15 +01:00
Jonathan Leroy
dc9dc45ae6
Fixes tests after merging of #620
2020-11-02 18:00:48 +01:00
Jonathan Leroy
20caaf8c4e
Merge branch 'master' into gandi-provider
2020-11-02 16:35:14 +01:00
Ross McFarland
19798e3acf
Only allow ALIAS on APEX
2020-11-02 07:26:07 -08:00
Jonathan Leroy
2d4855508c
Check that an alias zone source is not an alias zone
2020-11-01 23:58:40 +01:00
Jonathan Leroy
9a4812223e
Add missing empty line
2020-10-31 20:19:09 +01:00
Jonathan Leroy
038ae42284
Add comments and fixes some tests
2020-10-31 20:16:26 +01:00
Jonathan Leroy
a6d8848fad
Fixes linting issues
2020-10-31 14:19:43 +01:00
Jonathan Leroy
b0da090723
Add test for alias zones
2020-10-31 14:09:54 +01:00
Jonathan Leroy
a2aa98377d
Add tests for Record.copy()
2020-10-31 10:57:14 +01:00
Jonathan Leroy
4fb102e4be
Fixes tests related to _populate_and_plan()
2020-10-31 09:44:06 +01:00
Jonathan Leroy
04a2d7a585
Merge branch 'master' into zones-aliases
2020-10-28 16:24:40 +01:00
Jonathan Leroy
eec4c4f81c
Remove support for dynamic DNAME records as no provider currently
...
support them
2020-10-27 20:31:57 +01:00
Jonathan Leroy
b280449969
Add record targets normalizaltion
2020-10-27 11:25:55 +01:00
Jonathan Leroy
6d17b4671a
Handle domains not registred at Gandi or not using Gandi's DNS
2020-10-27 11:23:22 +01:00
Jonathan Leroy
7161baa262
Fixes code coverage for unsupported records types
2020-10-26 23:23:32 +01:00
Jonathan Leroy
bfaafeb61b
Fixes value of "rrset_name" parameter for domain APEX
2020-10-26 23:10:36 +01:00
Jonathan Leroy
de51e5f531
Add support for DNAME records
2020-10-26 22:18:35 +01:00
Jonathan Leroy
3f85244264
Fixes incorrect domain name in gandi-no-changes.json
2020-10-26 20:30:15 +01:00
Jonathan Leroy
fd136b42d1
Add support for Gandi LiveDNS
2020-10-25 01:08:08 +02:00
Jonathan Leroy
897a033443
Add tests for Manager.get_zones()
2020-10-21 20:02:12 +02:00
Jonathan Leroy
f2a6f870b4
Make each alias zone reference its target zone instead of listing all
...
aliases zones in the target zone configuration
2020-10-20 22:18:48 +02:00
Jonathan Leroy
7bf0b31367
Revert "Add support for zones aliases"
...
This reverts commit b926d78c5c .
2020-10-20 19:54:35 +02:00
Jonathan Leroy
2cc91ead71
Merge branch 'master' into zones-aliases
2020-10-20 19:51:56 +02:00
Guillaume Gelin
31105cc472
Implement octodns-sync --source
...
It can be useful to only synchronize zones that use a certain source. For
example, in a situation where some zones use a dynamic source and others don't,
you probably want to synchronize those with a dynamic source regularly, and
only synchronize the others when a change is made.
Although we only synchronize the zones that use a given source, we still want
to synchronize all sources to avoid deleting records that would live in another
source of the zone.
2020-08-27 16:16:24 +02:00
Jonathan Leroy
b926d78c5c
Add support for zones aliases
...
This commit adds support for zones aliases. This allows to define one or
multiple zone as aliases of an existing zone without using workarounds
like simlinks and miltiple "zones" entries in the configuration file.
An alias zone is share all of its content with it parent zone, only the
name of the zone is different.
```
zones:
example.com.:
aliases:
- example.net.
- example.org.
sources:
- in
targets:
- out
```
Known issues:
- No documentation,
- Only the `octodns-sync` and `octodns-validate` commands supports
aliases zones at this time,
I added a loop in the manager init function which convert all alias
zone to "real" ones during config validation, however I'm not sure
this is the right approach. Comments welcome.
2020-08-03 00:47:22 +02:00
John Dale
9e372fee19
Merge branch 'easydns_provider' of https://github.com/actazen/octodns into easydns_provider
2020-07-21 20:01:10 +00:00
John Dale
9e990632c4
Update to remove DYNamic A records
...
* Removed conversion of DYN records to A records
* Updated test fixtures to change test DYN to an A record
2020-07-21 19:58:24 +00:00
John Dale
10abfd870b
Merge branch 'master' into easydns_provider
2020-07-20 19:04:03 -04:00
John Dale
6a2c7909bd
Merge branch 'easydns_provider' of https://github.com/actazen/octodns into easydns_provider
2020-07-20 23:01:30 +00:00
John Dale
9a2152d249
Update to remove URL and STEALTH records
...
* Removed conversion of URL and STEALTH records to CNAME records
* Updated test fixtures to remove URL conversion testing
2020-07-20 22:58:21 +00:00
Ross McFarland
a6a9f03cd8
Merge branch 'master' into srv-validation
2020-07-20 13:44:22 -07:00
Ross McFarland
e6e745d1b7
Merge branch 'master' into patch-1
2020-07-20 13:29:43 -07:00
Justin B Newman
427b8a1a06
Add support for wildcard SRV records, as shown in RFC 2782
2020-07-20 12:48:47 -05:00
John Dale
ecfaa1160b
Merge branch 'master' into easydns_provider
2020-07-18 04:08:54 -04:00
John Dale
f4aa96abe5
Update to provide consistency
...
* Replaced camelCase with snake_case
* Change apikey to api_key
* Added check on record name before delete during domain_create
2020-07-18 08:03:27 +00:00
Phelps Williams
0a342aa6c2
EnvVar: Integrating review feedback and finishing tests
2020-07-17 12:09:20 -07:00
Phelps Williams
4d006e94a2
Adding environment variable record injection
...
Per the discussion on https://github.com/github/octodns/issues/583
here is a work in progress of environment variable injection for
discussion.
2020-07-15 18:17:33 -07:00