Question about /etc/dnsmasq.d/01-pihole.conf

/etc/dnsmasq.d/01-pihole.conf has an entry


I don't have that file on my system, pihole-FTL says:

Feb  1 11:24:24 dnsmasq[29598]: failed to load names from /etc/pihole/custom.list: No such file or directory

I assume this entry has a purpose, but the file isn't created until you make the first entry. How (pihole command OR web interface) are entries added to this file?

Its the new http://pi.hole/admin/custom_dns.php

and how do you get to it, using the web interface?

Apologies for my ignorance.

SORRY. didn't see it until your screenshot, must be getting old...

Unfortunately, the file (web interfae) doesn't allow the full hosts file specification, e.g. multiple names for one IP on the same line, such as (example).  7730geth0.localdomain  7730g.localdomain  7730geth0  7730g

I'll have to keep using my custom solution, no problem here...

A post was split to a new topic: Question on local DNS records