Like chiisana@lemmy.chiisana.net said - I want to be able to add my own records (SRV, A, CNAME…) so that I can point to the services hosted in my VPN. CoreDNS is good for this but it doesn’t also do adblocking. If PiHole can do this, I don’t know how.
I also don’t need a web UI, DHCP server, and so on: I just want a config file and some prometheus metrics
chiisana@lemmy.chiisana.net 11 months ago
Last I used PiHole many years back, it was possible to use it as DHCP but not possible to add custom DNS records like TXT, SRV, etc. . Perhaps that’s what OP is trying to solve for?
myogg@lemmy.world 11 months ago
Pinhole has allowed custom local records for a very long time now
nico@r.dcotta.eu 11 months ago
Including SRV records? I found that some servers (blocky as well) only support very basic CNAME or A records, without being able to specify parameters like TTL, etc.
I also appreciate being able to define this in a file rather than a web UI
AndyM@feddit.de 11 months ago
It’s based on dnsmasq. You could always specify custom records, even before there was an option in the web interface. Just create a config file in /etc/dnsmasq.d
Just look up these options: host-record cname srv-host
Eideen@lemmy.world 11 months ago
I do it via dnsmasq, that Pi uses.
I have a ansible playbook, that i use to sync my Piholes.
Appoxo@lemmy.dbzer0.com 11 months ago
You can set CNAME and DNS. Not much else I need at home for a reverse proxy.