Closed Moumoutaru closed 2 years ago
I'm not able to reproduce this locally. Always running ./octodns/cmds/sync.py --config-file=config/dev.yaml --doit
Initially I synced with:
---
www:
- type: A
value: 1.2.3.5
- type: AAAA
value: 2001:0db8:85a3:0:0:8a2e:0370:7334
Then I added a proxied ALIAS/CNAME:
---
'':
octodns:
cloudflare:
proxied: true
ttl: 3600
type: ALIAS
value: www.aliased.net.
www:
- type: A
value: 1.2.3.5
- type: AAAA
value: 2001:0db8:85a3:0:0:8a2e:0370:7334
********************************************************************************
* aliased.net.
********************************************************************************
* cloudflare (CloudflareProvider)
* Create <AliasRecord ALIAS 3600, aliased.net., www.aliased.net.> (config)
* Summary: Creates=1, Updates=0, Deletes=0, Existing Records=3
********************************************************************************
Subsequent sync's don't show any changes:
********************************************************************************
No changes were planned
********************************************************************************
If I remove the proxied flag that seems to behave as expected:
********************************************************************************
* aliased.net.
********************************************************************************
* cloudflare (CloudflareProvider)
* Update
* <AliasRecord ALIAS 1, aliased.net., www.aliased.net.> ->
* <AliasRecord ALIAS 3600, aliased.net., www.aliased.net.> (config)
* Summary: Creates=0, Updates=1, Deletes=0, Existing Records=4
********************************************************************************
And then subsequent syncs
********************************************************************************
No changes were planned
********************************************************************************
I did find a problem with deleting ALIAS records from Cloudflare while trying to reproduce this bug, https://github.com/github/octodns/pull/305. Based on the description it doesn't sound like what you're running into. It has nothing to do with proxied flag and deleting it, just a general problem were you can't delete an ALIAS record.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Alias records on the Apex always show up as changing when proxied is set to true. Removing the
proxied: true
shows no records changing and doesn't undo the proxy through cloudflare config. Is any of this expected behavior? I would expect removingproxied: true
, or settingproxied: false
to actually change this apex record.