Sure but this won’t work if you’re accessing services outside your network like OP is doing. You’re going to need publicly available DNS records somewhere to do that.
Comment on Self hosted DNS
renegadespork@lemmy.jelliefrontier.net 1 day ago[deleted]
Egonallanon@feddit.uk 1 day ago
renegadespork@lemmy.jelliefrontier.net 1 day ago
You’re, right, I misread the post.
At that point DNS is handled by whatever network you’re on. Since that not always under your control, hosting a private VPN (and setting DNS though that) is the way to go.
non_burglar@lemmy.world 1 day ago
Those are not authoritative responses, though. You can only add CNAME and A records to pihole, because it’s built on dnsmasq and not on bind/unbound.
You can’t add SOA records to pihole. Or zone transfers, or any actual DNS server functions, really. Pihole is just a forwarder.