UBNT-stig is right about being computationally expensive for such feature to exist in Netfilter - Linux's firewall and NAT.
An alternative solution is to make use of ipset with an address-set. Use the address-set in the NAT rule instead of domain name. Have an independent script or otherwise check the domain name and update the address-set when the IP changes.