[SOLVED] DNS Forwarder: Can't resolve on LAN

Started by weust, March 18, 2015, 11:54:18 AM

Previous topic - Next topic
March 18, 2015, 11:54:18 AM Last Edit: March 25, 2015, 10:13:15 AM by franco
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.
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.


Ah, that explains it :)

Is it safe for me to commit those changes by hand?
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

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?
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

Already fixed, so let's ignore this on for now  :)

Alrighty then :)
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.