I need to create a A-Record for a subdomain on server X to make it point to server Y, but the IP from server Y is changing from time to time.
Server Y also has a hostname / domain.
The A-record does just accept IPV4 Addresses.
Is there also a way to use the hostname / domain of server Y instead of the IP address somehow, or do I have to change the A-Record each day by hand?
I tried it with CNAME as suggested in the comment by user10489, but I get an error
Error: The DNS zone file is invalid. (Line 514: test.api.konfigurator.company.de: CNAME and other data)