Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom DNS #28

Open
Empty2k12 opened this issue Mar 17, 2024 · 2 comments
Open

Custom DNS #28

Empty2k12 opened this issue Mar 17, 2024 · 2 comments

Comments

@Empty2k12
Copy link

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

@msrd0
Copy link
Collaborator

msrd0 commented Mar 17, 2024

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

@Empty2k12
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants