pihole-kubernetes icon indicating copy to clipboard operation
pihole-kubernetes copied to clipboard

[New feature]Add local dns records to values file

Open i5Js opened this issue 4 years ago • 5 comments

Starting in 5.0, we can add local records to Pihole using the web interface. Theses entries are save in the file /etc/pihole/custom.list.

Is it possible to add it?

Thanks.

i5Js avatar Jan 30 '21 17:01 i5Js

Yes, this should be possible. We have to make sure, that the file is stored in the persisted volume.

MoJo2600 avatar Feb 08 '21 13:02 MoJo2600

Ok, thanks!

i5Js avatar Feb 08 '21 13:02 i5Js

@i5Js is this working for you? I'd like to close the issue if so.

MoJo2600 avatar Sep 23 '21 06:09 MoJo2600

Hi, I've checked values.yml, but I can't find where I should add the values for custom.list

i5Js avatar Oct 01 '21 05:10 i5Js

There is dnsmasq.customDnsEntries variable, it allows to inject address=/host/IP entries to dnsmasq config. Although these won't show in GUI.

ngrigoriev avatar Aug 06 '22 23:08 ngrigoriev