Configuring the Dnsmasq service to use Lumiun DNS with identification of internal network devices
This configuration will cause the Dnsmasq service to forward DNS requests to Lumiun DNS, including the IP address of devices performing DNS queries on the internal network. Forwarding will be done using the traditional DNS protocol on port 53, also known as DNS53 or Do53.
All devices on the local network that use this Dnsmasq as a DNS server will now observe the rules defined in the Policy assigned to the site used in the configuration.
Step-by-step
-
Access your Dnsmasq configuration file, usually located at
/etc/dnsmasq.conf
. -
Edit the file, adding or editing the following parameters:
add-cpe-id=abcd1234
server=dns_server_1
server=dns_server_2
add-mac
no-resolv
bogus-priv
umbrella
Replace abcd1234 with your site ID, and also replace dns_server_1 and dns_server_2 with the respective DNS servers for your site. All of this information can be found on the sites page.
Now, just restart your DNSMasq server for the parameters to take effect.
That's it! You can now view reports on your Lumiun DNS dashboard and also define policy rules.