0
OPNSense, DNSmasq and Nextdns
Hi All
First of all I'm a newbie with all of this just trying to follow guides etc so please bare with me.
I'm trying to configure OPNSense to use NextDNS CLI whilst keeping the functionality of DNSMasq to resolve local dns
I have it all mostly setup however the only thing im missing is hostnames in NextDNS logs there currently showing like this
but i would the actual hostname from OPNSense
This is my NextDNS config file
profile XXXX
log-queries false
cache-max-age 0s
max-ttl 0s
timeout 5s
auto-activate false
control /var/run/nextdns.sock
listen 127.0.0.1:5353
cache-size 0
hardened-privacy false
bogus-priv true
use-hosts true
max-inflight-requests 256
debug false
discovery-dns
detect-captive-portals false
report-client-info true
mdns all
setup-router false
and these are the lines I've added to my dnsmasq.conf file
server=127.0.0.1#5353
domain-needed
bogus-priv
expand-hosts
domain=localdtmh
add-mac
add-subnet=32,128
as well as screenshot of the OPNSense DNSMasq screen
If anyone can help me out that would be amazing
2 replies
-
If you have any devices on fixed local IPs, you can add entries to the /etc/hosts and the CLI will pick those up.
Content aside
- 1 hr agoLast active
- 2Replies
- 7Views
-
2
Following