Is there a way to reset a node's local DNS cache? As I had to change a Node's IP address, I would like the other nodes to see the new IP as soon as possible.
Proxmox VE shouldn't do any system-level DNS caching, unless you've manually configured some sort of caching local resolver, like systemd-resolved or dnsmasq. What is the content of your /etc/resolv.conf?
I have not configured any caching. As expected, the new IP addresses became visible after some time - therefore I was sure, that there must be some caching somewhere (e.g. nscd)
The same happens to me, both in the nodes and inside the LXC. I two following commands failed:
Code:
# resolvectl flush-caches
Failed to flush caches: Unit dbus-org.freedesktop.resolve1.service not found.
# systemd-resolve --flush-caches
Failed to flush caches: Unit dbus-org.freedesktop.resolve1.service not found.
So, for reference, the only thing I could think of was, according to man systemd-resolved, to send a `SIGUSR2` signal to the daemon:
I have not configured any caching. As expected, the new IP addresses became visible after some time - therefore I was sure, that there must be some caching somewhere (e.g. nscd)