Since the upgrade to OPNsense 22.1.9 I have this problem:
In the LAN DHCP server there are a couple of static mappings with a hostname set. Before I could ping the hostname and get the internal IP address back. Some of these hostnames also exist on the internet. I have set my OPNsense as DNS server for my clients but when I now ping a hostname that also exists on the internet I get the internet IP address back and not the local IP address. If I ping a hostname that only exists on the OPNsense and not on the internet I get the local IP address back. What has changed in version 22.1.9 that causes this behaviour and how can it be fixed?
SOLVED:
Restarting my PC did not resolve the issue but a IPCONFIG /FLUSHDNS did. I still do not understand how this could happen but for now it has been solved!