DNS requests are first send to the internet

Started by Turbo99, June 28, 2022, 09:39:30 PM

Previous topic - Next topic
June 28, 2022, 09:39:30 PM Last Edit: June 28, 2022, 09:44:22 PM by Turbo99
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!