crab-hole icon indicating copy to clipboard operation
crab-hole copied to clipboard

Custom DNS

Open Empty2k12 opened this issue 1 year ago • 2 comments
trafficstars

Pihole has the option of adding custom DNS entries. I would like to add internal DNS names to my private crab-hole.

image Image per https://discourse.pi-hole.net/t/howto-using-pi-hole-as-lan-dns-server/533

Empty2k12 avatar Mar 17 '24 16:03 Empty2k12

Should be fairly easy to implement, one would just need to insert the local entries into the catalog here: https://github.com/LuckyTurtleDev/crab-hole/blob/main/src/main.rs#L144

msrd0 avatar Mar 17 '24 16:03 msrd0

Precisely. It would probably be best served as a separate config file with DNS name <=> IP mappings.

Empty2k12 avatar Mar 17 '24 16:03 Empty2k12