Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - OpnSenseUser123321

#1
Hi.

Reading the docs I saw Dnsmasq is the recommended DHCP server. I can't figure out how to advertise a specific IP as the default DNS server for DHCP clients though.

I'm running pi-hole on 192.168.111.130. I've configured that as the default DNS server of OPNsense itself via System/Settings/General.

Also I've gotten this working when using ISC DHCPv4. But I can't figure out what the right setting is with Dnsmasq.

I've also attempted setting it via 'dhcp-option=6,192.168.111.130' in '/usr/local/etc/dnsmasq.conf.d/'. But this results in a log line in Dnsmasq 'Ignoring duplicate dhcp-option 6'.

I can see 'dhcp-option=6,0.0.0.0' in '/usr/local/etc/dnsmasq.conf' which I guess is overriding my option.