---
title: Configuring the Dnsmasq service to use Lumiun DNS with identification of internal network devices
description: "Configuring DNSMasq to use Lumiun DNS as access control/content filter. Protocol used: DNS53 (Do53)."
---

[Skip to content](https://help.lumiun.com/en-us/hc/configurando-serviço-dnsmasq-para-usar-lumiun-dns-com-identificação-dos-dispositivos-da-rede-interna#main-content)

- [English - United States](https://help.lumiun.com/en-us/hc/configurando-servi%C3%A7o-dnsmasq-para-usar-lumiun-dns-com-identifica%C3%A7%C3%A3o-dos-dispositivos-da-rede-interna)
- [Português - Brasil](https://help.lumiun.com/pt-br/hc/configurando-serviço-dnsmasq-para-usar-lumiun-dns-com-identificação-dos-dispositivos-da-rede-interna)

English - United States

Show submenu for translations

[Request Support](https://help.lumiun.com/en-us/hc/kb-tickets/new?hsLang=en-us) [My Tickets](https://tickets.lumiun.com/tickets?hsLang=en-us)

[![logo lumiundns](https://help.lumiun.com/hubfs/lumiundns-x-color.svg)](https://help.lumiun.com/?hsLang=en-us)

Open main navigation

Close main navigation

- - [English - United States](https://help.lumiun.com/en-us/hc/configurando-servi%C3%A7o-dnsmasq-para-usar-lumiun-dns-com-identifica%C3%A7%C3%A3o-dos-dispositivos-da-rede-interna)
    - [Português - Brasil](https://help.lumiun.com/pt-br/hc/configurando-serviço-dnsmasq-para-usar-lumiun-dns-com-identificação-dos-dispositivos-da-rede-interna)

  English - United States
  
  Show submenu for translations
- [Request Support](https://help.lumiun.com/en-us/hc/kb-tickets/new)
- [My Tickets](https://tickets.lumiun.com/tickets)
- [Go to Dashboard](https://dns.lumiun.com/)

[Go to Dashboard](https://dns.lumiun.com/)

 How can we help?

- There are no suggestions because the search field is empty.

1. [Lumiun DNS Help Center](https://help.lumiun.com/en-us/hc?hsLang=en-us)
2. [Integrations](https://help.lumiun.com/en-us/hc/integrations?hsLang=en-us)
3. [Servers](https://help.lumiun.com/en-us/hc/integrations?hsLang=en-us#servers)

# 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

1. Access your Dnsmasq configuration file, usually located at `/etc/dnsmasq.conf`.
2. Edit the file, adding or editing the following parameters:
   
   ```
   add-cpe-id=abcd1234server=dns_server_1server=dns_server_2add-macno-resolvbogus-privumbrella
   ```

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](https://dns.lumiun.com/sites) page.

Now, just restart your DNSMasq server for the parameters to take effect.

That's it! You can now view [reports](https://dns.lumiun.com/relatorios) on your Lumiun DNS dashboard and also define [policy](https://dns.lumiun.com/politicas) rules.

- [Integrations](https://help.lumiun.com/en-us/hc/integrations?hsLang=en-us#main-content)

    - [Routers](https://help.lumiun.com/en-us/hc/integrations?hsLang=en-us#routers)
    - [Firewalls](https://help.lumiun.com/en-us/hc/integrations?hsLang=en-us#firewalls)
    - [Servers](https://help.lumiun.com/en-us/hc/integrations?hsLang=en-us#servers)
    - [Computers](https://help.lumiun.com/en-us/hc/integrations?hsLang=en-us#computers)
    - [Smartphones](https://help.lumiun.com/en-us/hc/integrations?hsLang=en-us#smartphones)
    - [Browser](https://help.lumiun.com/en-us/hc/integrations?hsLang=en-us#browser)
    - [General](https://help.lumiun.com/en-us/hc/integrations?hsLang=en-us#general)
- [Policies and Filters](https://help.lumiun.com/en-us/hc/policies-and-filters?hsLang=en-us)
- [Networks and Sites](https://help.lumiun.com/en-us/hc/networks-and-sites?hsLang=en-us)
- [Reports](https://help.lumiun.com/en-us/hc/reports?hsLang=en-us)
- [Your Account](https://help.lumiun.com/en-us/hc/your-account?hsLang=en-us#main-content)

    - [Plans and Billing](https://help.lumiun.com/en-us/hc/your-account?hsLang=en-us#plans-and-billing)
- [Partners](https://help.lumiun.com/en-us/hc/partners?hsLang=en-us)
- [FAQ](https://help.lumiun.com/en-us/hc/faq?hsLang=en-us#main-content)

    - [General](https://help.lumiun.com/en-us/hc/faq?hsLang=en-us#general)
    - [pfSense](https://help.lumiun.com/en-us/hc/faq?hsLang=en-us#pfsense)

[![logo lumiun dns](https://help.lumiun.com/hubfs/lumiun-dns.svg "logo lumiun dns")](https://help2.lumiun.com/?hsLang=en-us)

<https://www.linkedin.com/company/lumiuntecnologia> <https://www.instagram.com/lumiuntecnologia> <https://www.facebook.com/LumiunTecnologia>

Copyright © 2026, Lumiun