MoJo2600 / pihole-kubernetes

PiHole on kubernetes
504 stars 178 forks source link

[New feature]Add local dns records to values file #131

Open i5Js opened 3 years ago

i5Js commented 3 years ago

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.

MoJo2600 commented 3 years ago

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

i5Js commented 3 years ago

Ok, thanks!

MoJo2600 commented 3 years ago

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

i5Js commented 3 years ago

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

ngrigoriev commented 2 years ago

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