Open vidarsk opened 5 months ago
This behaviour is changed during the migration to pydantic (https://github.com/unioslo/mreg-cli/pull/214). In this branch the CNAME will be resolved as follows:
mreg-test.uio.no> host info login.math.uio.no
login.math.uio.no is a CNAME for europa.uio.no
Name: europa.uio.no
[...]
mreg-test.uio.no> host ttl_set login.math.uio.no 600
OK: : Set TTL for europa.uio.no to 600.
login.math.uio.no is a CNAME for europa.uio.no
When using ttl_set on a cname, it gives misleading output:
I would expect the command to give an error message in this case.