`named` returning a wrong IP

  1. I configured my.example.com under Custom DNS to point to another server A
  2. But running dig my.example.com @localhost on MIAB shows MIAB’s IP address B, which is incorrect
  3. Running dig ... elsewhere also showed the incorrect IP address B
  4. To be sure, I ran service named stop and dig ... again, sure enough, dig failed and wasn’t able to connect
  5. From MIAB’s web-ui and more /etc/nsd/zones/my.example.com.txt, it shows my desired IP address A
  6. I have also ran resolvectl flush-caches, no help

What am I missing?

I found the issue, it was a misconfiguration of my custom DNS, and also a bug (I think)

On v73, do you guys have /var/log/nsd.log? The bug seems to be that nsd is unable to create/write this file