Custom dnsmasq config not being applied

I have installed Pi-hole as an LXC on my Proxmox server using the PVE Helper Script. I use Nginx Proxy Manager to resolve domains for my self-hosted services. In order for Pi-hole to forward domains ending .lab , I created a config file at /etc/dnsmasq.d/02-wildcard-lab.conf with the line address=/.lab/172.29.83.101 (172.29.83.101 is NPM).

To test it was working, I went to homeassistant.lab, which is proxied to 172.29.83.105:8123 in NPM.

However, I received a DNS_PROBE_POSSIBLE status code. Running nslookup homeassistant.lab on my PC returns pi.hole can't find homeassistant.lab: Non-existent domain.

I ran pihole-FTL restart, pihole reloaddns, and even restarted the LXC, none of which worked.

The DNS server for my PC is set to Pi-hole, as confirmed by nslookup.

Debug Token:

https://tricorder.pi-hole.net/T1cuP8R9/

Your debug log shows:

   [misc]
     etc_dnsmasq_d = false

You need to enable this option.

Please read some related posts below:

ah, that was it. I couldn’t find much info about dnsmasq in the docs. Thanks!

The documentation for settings in Pi-hole V6 is mostly contained in the web GUI settings menu and in file /etc/pihole/pihole.toml.

Each configuration option is preceded by the documentation for that item. Example:

  [webserver.api]
    # Number of concurrent sessions allowed for the API. If the number of sessions exceeds
    # this value, no new sessions will be allowed until the number of sessions drops due
    # to session expiration or logout.
    #
    # Note that the number of concurrent sessions is irrelevant if authentication is
    # disabled as no sessions are used in this case.
    #
    # Allowed values are:
    #     A positive integer value
    max_sessions = 16

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.