Community discussions

MikroTik App
 
demetris
just joined
Topic Author
Posts: 2
Joined: Thu Jan 26, 2023 1:00 pm

Configuring Pihole as IPV6 dns server

Fri Jul 19, 2024 8:15 pm

Hello to everyone,

I have a configuration issue, involving pihole running and ipv6.

I have installed a container, pihole, which is running without issues. I am using dual stack ip and ipv6, and the configuration for ipv4 through the dhcp server of mikrotik is working like expected. The clients are getting the ip of the pihole as a dns server, and the dns resolving is done through pihole.

Since I have dual stack, whenever I want to visit a website, I have a delay before reaching the site. If I manually refresh, the pages loads instantly.
I believe that this is due to ipv6 name address resolution.

Yesterday, I tried adding the local ipv6 of the container as my dns ipv6 resolver for my laptop (configuring it in /etc/resolv.conf archlinux) but I was getting a timeout error reaching that address. I tried rebooting the mikrotik device, and then I realized that the local ipv6 address of veth1 that the container is using changed! I thought local addresses would never change.

My ipv6 configuration on my laptop is working fine. I can access from outside my lan, using the global ip of my laptop's wireless lan, a test web server that I installed for troubleshooting.

I am a little lost in what route I should go in order to achieve having pihole as ipv6 name resolver for my devices connecting to mikrotik.

Is there anyone that can point me to the right direction?
Thanks
 
demetris
just joined
Topic Author
Posts: 2
Joined: Thu Jan 26, 2023 1:00 pm

Re: Configuring Pihole as IPV6 dns server

Sun Jul 21, 2024 2:06 pm

Ok, I think I've found a solution to this.
For anyone interested, I found this topic which is almost identical to my question: viewtopic.php?p=1073976#p1073976
I followed @CGGXANNX suggestion regarding the ULA, and now it is working. I get replies from pihole answering to dns requests! finally!

Who is online

Users browsing this forum: No registered users and 4 guests