NextcloudPi changing no-ip domain


I have a no-ip account. I set up a box with NCP and set everything up, including the no-ip configuration. Then, I got a new domain name which I prefer for NCP. I ran the noip under network in ncp-config. I got this error:

Running no-ip

Auto configuration for Linux client of

2 hosts are registered to this account.
                                       Do you wish to have them all updated?[N] (y/N)  nDo you wish to have host [DomainIwant] updated?[N] (y/N)  yDo you wish to have host [DomainIDontWant] updated?[N] (y/N)  n
New configuration file '/usr/local/etc/no-ip2.conf' created.

Failed to enable unit: Unit /run/systemd/generator.late/noip2.service is transient or generated.
/usr/local/etc/ línea 130: DomainIwant: error sintáctico: operador aritmético inválido (el elemento de error es "")
Done. Press any key...

Maybe I should have cleaned the no-ip configuration before?

P.S.: First time, I hit “yes” for “update them all”.

I put the value of the new domain where the old domain was and the issue was solved. I used this command:

ncc config:system:set trusted_domains 3 --value=$DomainNew

Being $DomainNew my new domain (hardcoded, changed for privacy)