Not able to get localdomain working after 3 days of trying this noob need help :

Started by Thorrrr, January 24, 2023, 05:23:01 PM

Previous topic - Next topic
Hello Guys

I hope this message finds you well. I have been working on setting up local domain on my system for the past three days, but despite my efforts, I have been unable to get it working. My initial configuration appears to be correct, but I have come to realize that this software is quite complex, and I require the assistance of someone with more knowledge and expertise.

I have been troubleshooting using DNS Masq, but I have not been able to identify the issue. It's clear to me that I need help in order to make progress.

I would be grateful if someone with more experience could take a look at my setup and provide guidance on how to resolve this issue. I would be happy to provide any additional information or access that may be necessary.

Thank you in advance for your help,

In DNS Masq i see

2023-01-24T16:03:01Warningdnsmasqignoring nameserver 127.0.0.1 - local interface

Hi Thor,

The warning in the dnsmasq-log is not specific for OPNsense.

You can try a generic query for that warning on your favourite search engine, for example https://duckduckgo.com/?t=ftsa&q=Warningdnsmasqignoring+nameserver+127.0.0.1&ia=web , which in my case gives a first result for https://stackoverflow.com/questions/63273701/dnsmasq-starts-but-ignores-nameserver-local-interface explaining the meaning (sorry, I never picked up bbscript, no idea how to get the URLs nicely).

The warning is probably not related to your problem. What do you mean with localdomain, and what does not work as you expect?

@Thorrrr

Not sure if you are still having this issue, nor do we know what version of OPNsense you have installed.  But anything recently, you should be using Unbound DNS service instead of Dndmasq.  If you look at Services: Dnsmasq DNS: Settings is the Enabled checkbox, Unchecked or check?  If it's checked, I would think about using Unbound DNS.  That is uncheck enable for Dnsmasq, and go to Services: Unbound DNS: General checking Enable there.

If your already using Unbound, then your answer is using Overrides: Services: Unbound DNS: Overrides
if you are trying to get hostnames set up.  If you have a local DNS server where your domain is hosted, then you need to click the Domain Overrides tab (vs Host Overrides). 

just for more information.  127.0.0.1 is your lookback interface on any host.  I'm just guessing you're getting the message because you have something misconfigured.  Hope that helps.