I have this weird issue with DynDNS.
This is an excerpt from my terminal while running host git.mydomain.tld every few seconds.
# 2025-11-20 17:54:38
~$ host git.mydomain.tld
git.mydomain.tld is an alias for core.mydomain.tld.
core.mydomain.tld is an alias for core.dyn.mydomain.tld.
core.dyn.mydomain.tld has address 212.x.y.z
# 2025-11-20 17:54:41
~$ host git.mydomain.tld
git.mydomain.tld is an alias for core.mydomain.tld.
core.mydomain.tld is an alias for core.dyn.mydomain.tld.
core.dyn.mydomain.tld has address 89.a.b.c
$ cat /etc/resolv.conf
nameserver 168.63.129.16
search .
Obviously, the actual addresses are replaced to avoid doxxing myself.
The point is, it seems this dynamic DNS address for core.dyn.mydomain.tld keeps changing while the actual machine does NOT have the one of those address.
So it works like this:
It core.dyn.mydomain.tld will resolve to 89.a.b.c something like 99% of the time (or more), but then suddenly, it will resolve to 212.x.y.z. Maybe once or maybe a few times, then it will go back to 89.a.b.c.
I have been scratching my head for a long time about this. I have not been able to find the root cause.
I though it was impossible for DynDNS to assign an address that is not the source address of the client.
I would really like to hear from all you experts if you have some ideas on what might be going on and how to troubleshoot it further.