# Extra static IP conf files not showing in 'Static DHCP leases configuration'

**URL:** <https://discourse.pi-hole.net/t/extra-static-ip-conf-files-not-showing-in-static-dhcp-leases-configuration/24069>\
**Category:** Help\
**Created:** [September 27, 2019, 5:27pm UTC](https://discourse.pi-hole.net/t/extra-static-ip-conf-files-not-showing-in-static-dhcp-leases-configuration/24069 "2019-09-27T17:27:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![beardedfool](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/b/f0a364/32.png) [@beardedfool](https://discourse.pi-hole.net/u/beardedfool)\
**Post date:** [September 27, 2019, 5:27pm UTC](https://discourse.pi-hole.net/t/extra-static-ip-conf-files-not-showing-in-static-dhcp-leases-configuration/24069/1 "2019-09-27T17:27:15Z")

</div>

Hi,

I've added some custom .conf files containing static assignments to cd /etc/dnsmasq.d/

They're working ok, with the minor annoyance that they're not showing in the gui under  
Settings\>DHCP\>Static DHCP leases configuration

I presume that the gui only displays what's in 04-pihole-static-dhcp.conf?

It all seems to be working ok otherwise, so it's not a big thing, but I just wanted to check it's expected behaviour please.

Is there a list of the naming convention of these .conf files that pihole uses somewhere please - just so I don't accidentally create any of the same name

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [September 27, 2019, 5:37pm UTC](https://discourse.pi-hole.net/t/extra-static-ip-conf-files-not-showing-in-static-dhcp-leases-configuration/24069/2 "2019-09-27T17:37:00Z")

</div>

Pi-Hole uses `/etc/dnsmasq.d/01-pihole.conf` and `/etc/dnsmasq.d/02-pihole-dhcp.conf` and there is a static lease file for which I don't recall the file name.

The Pi-Hole files have pihole in the name. Other than that, there is no naming convention in that folder so you are free to use names that make sense to you.

---

<div class="post-metadata">

**Author:** ![beardedfool](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/b/f0a364/32.png) [@beardedfool](https://discourse.pi-hole.net/u/beardedfool)\
**Post date:** [September 27, 2019, 7:45pm UTC](https://discourse.pi-hole.net/t/extra-static-ip-conf-files-not-showing-in-static-dhcp-leases-configuration/24069/3 "2019-09-27T19:45:32Z")

</div>

Thanks for the quick answer.

I have 04-pihole-static-dhcp.conf for the static, so I'm guessing there is an 03 created by some option as well

Any idea of what the gui displays in that sections. I presume it's just the contents of 04-, rather than all static leases across all .conf files.

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [September 27, 2019, 8:02pm UTC](https://discourse.pi-hole.net/t/extra-static-ip-conf-files-not-showing-in-static-dhcp-leases-configuration/24069/4 "2019-09-27T20:02:07Z")

</div>

I don't know the answer to that, as i don't have a Pi-Hole configured as DHCP server.

---

<div class="post-metadata">

**Author:** ![mikeyw64](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/m/c4cdca/32.png) [@mikeyw64](https://discourse.pi-hole.net/u/mikeyw64)\
**Post date:** [September 28, 2019, 2:46pm UTC](https://discourse.pi-hole.net/t/extra-static-ip-conf-files-not-showing-in-static-dhcp-leases-configuration/24069/5 "2019-09-28T14:46:12Z")

</div>

@beardedfool

No idea what the 03 option is/was for but I don't have it either and I use PiHole for DHCP & DNS

```auto
pi@Heimdall:/ $ ls -al /etc/dnsmasq.d/
total 24
drwxr-xr-x 2 root root 4096 Sep 26 21:43 .
drwxr-xr-x 114 root root 4096 Sep 27 11:01 ..
-rw-r--r-- 1 root root 1529 Sep 22 20:38 01-pihole.conf
-rw-r--r-- 1 root root 485 Sep 20 19:23 02-pihole-dhcp.conf
-rw-r--r-- 1 root root 499 Sep 26 21:44 04-pihole-static-dhcp.conf
-rw-r--r-- 1 root root 498 Sep 15 14:12 09-guestnet.conf

```

---

<div class="post-metadata">

**Author:** ![beardedfool](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/b/f0a364/32.png) [@beardedfool](https://discourse.pi-hole.net/u/beardedfool)\
**Post date:** [September 30, 2019, 8:23am UTC](https://discourse.pi-hole.net/t/extra-static-ip-conf-files-not-showing-in-static-dhcp-leases-configuration/24069/6 "2019-09-30T08:23:58Z")

</div>

Thanks for checking both.

Maybe someone else will know about the gui

---

<div class="post-metadata">

**Author:** ![mikeyw64](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/m/c4cdca/32.png) [@mikeyw64](https://discourse.pi-hole.net/u/mikeyw64)\
**Post date:** [September 30, 2019, 9:24am UTC](https://discourse.pi-hole.net/t/extra-static-ip-conf-files-not-showing-in-static-dhcp-leases-configuration/24069/7 "2019-09-30T09:24:09Z")

</div>

Interesting, according to [this link](https://discourse.pi-hole.net/t/what-files-does-pi-hole-use/1684) it's

`03-wildcard.conf` : used for wildcard blacklisting

I say interesting as I have some wildcard blacklisting enabled yet I don't have that file

---

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [September 30, 2019, 9:58am UTC](https://discourse.pi-hole.net/t/extra-static-ip-conf-files-not-showing-in-static-dhcp-leases-configuration/24069/8 "2019-09-30T09:58:42Z")

</div>

> [@mikeyw64](#):
>
> according to [this link](https://discourse.pi-hole.net/t/what-files-does-pi-hole-use/1684) it’s
> 
> `03-wildcard.conf` : used for wildcard blacklisting

We need to update that very old FAQ. V4.0 of Pi-Hole introduced regex for wildcard blocking.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)\
**Post date:** [October 21, 2019, 9:58am UTC](https://discourse.pi-hole.net/t/extra-static-ip-conf-files-not-showing-in-static-dhcp-leases-configuration/24069/9 "2019-10-21T09:58:42Z")

</div>

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