I am using the DNS Fordwarder (default setting) and added some override entries for a couple of machines on my home LAN network.
Maybe I am doing things wrong, but I can't resolve any of those machines. Not with a ping or a nslookup.
In nslookup, when I type in the hostname of one of those entries, it returns the message:
Quote*** opnsense.local.net can't find hostname: Non-existent domain
To me that means that the entry is simply not registered in the DNS server file/database.
Perhaps I am interpreting the override entries wrong, and if so, where do I add my own entries?
If this is a bug, I will add an issue on GitHub.
Apparently the hosts file is not regenerated after apply.
Should be fixed with commit : https://github.com/opnsense/core/commit/c30080e503a20fbd379800374d29ec679e72fea0
Ah, that explains it :)
Is it safe for me to commit those changes by hand?
The safest way is to only add the single line "system_hosts_generate();" to
/usr/local/www/services_dnsmasq.php
Around line 108.
Will do, thanks.
Want me to create an issue on GitHub for this or have you already?
Already fixed, so let's ignore this on for now :)
Alrighty then :)