https://netmaker.org logo
#netmaker
Title
# netmaker
g

glamorous-holiday-92807

07/23/2022, 11:59 AM
Cool. I'm interested in having a custom nameserver on my network with the idea that I can access selfhosted services using regular URLs. My idea is to host pihole in docker on the same server netmaker is on. I figure it has to be on the same network as netmaker to show up
b

bored-island-21407

07/23/2022, 12:00 PM
That should be doable
g

glamorous-holiday-92807

07/23/2022, 12:02 PM
The docker-compose file creates these networks:
Copy code
NETWORK ID     NAME               DRIVER    SCOPE
6d8b665b3c3b   bridge             bridge    local
4dfc6d66cf94   host               host      local
56606fd7e77c   netmaker_default   bridge    local
4bb0bb091464   none               null      local
Should I add the pihole docker image to the
netmaker_default
network?
b

bored-island-21407

07/23/2022, 12:03 PM
That would make sense
g

glamorous-holiday-92807

07/23/2022, 12:07 PM
Awesome, thanks!
So in this case would pihole replace CoreDNS? Should I disable CoreDNS and use port 53 for pihole?
b

bored-island-21407

07/23/2022, 10:11 PM
currently coredns is not used so replacing it would not affect anything
j

jolly-london-20127

07/24/2022, 1:24 PM
let us know how this goes! Having some instructions for integrating pihole would be useful to many users
g

glamorous-holiday-92807

07/24/2022, 5:02 PM
Yeah, will do!
Yeah I'm really stuck on this. Rather than messing around with pi-hole in docker I'm trying to just add an actual pi-hole on a raspberry pi as a node in the network and use that as DNS. No luck. I commented on a relevant issue here: https://github.com/gravitl/netmaker/issues/1214#issuecomment-1193388447