Greetings, cloud-dwellers.
I’m moving a server with many domains, and adding them has been very easy thanks to flarectl
- I have automatically added DNS for my sites with flarectl dns zone create --jumpstart
and all that literally worked right first time, very slick there!
Soon I will need to change their DNS entries, but I haven’t figured out how to use flarectl dns update
to do this.
I want to update this DNS record to point to another IP address
extremeny.com. 1 IN A 162.209.6.164
I tried this:
flarectl dns update --zone extremeny.com --type A --name extremeny.com --content 23.239.10.50
but that gives me a clear error error: the required flag "id" was empty or not provided
. I then added --id 1
to the end to get
flarectl dns update --zone extremeny.com --type A --name extremeny.com --content 23.239.10.50 --id 1
but now I get the cryptic error:
Error updating DNS record:
and nothing else.
I get that same error for any numeric --id
I used. If I try --id IN
so the full command line is
flarectl dns update --zone extremeny.com --type A --name extremeny.com --content 23.239.10.50 --id IN
I get an error:
Error updating DNS record: PATCH method not allowed for the api_token authentication scheme (10000)
I don’t think it’s an authentication issue, as I already created zone records with this token/key pair, but I just checked the long list of permissions for the token and added any that seemed even vaguely relevant, with no change.