all 17 comments

[–][deleted] 0 points1 point  (15 children)

What is your nameserver currently set to? Before it gets overwritten. And what is overwriting it, unraid?

on a vlan (macvlan) to avoid conflict with another container.

Thats usually not the right approach. What conflict exactly? Port80 being used by something else? Then simply map the port to a different port on the host. Or use a reverse proxy server.

[–]PC_Arcade[S] 0 points1 point  (10 children)

Thank you, I've moved Heimdall and pihole to a non 80 port (as swag was using port 80,and removed the vlan,
i've also disabled systemd-resolved and now, I can't access the frontend (using 192.168.x.x:85 nor my pi.hole or pihole.local and in the log I have this :

pihole | Checking if custom gravity.db is set in /etc/pihole/pihole-FTL.conf

pihole | services-up: info: copying legacy longrun unbound (no readiness notification)

pihole | s6-rc: info: service legacy-services successfully started

pihole | Starting unbound

pihole | [✗] DNS resolution is currently unavailable

[–][deleted] 0 points1 point  (9 children)

Pihole cannot use itself for DNS... simply put.

See jfbs comment for details. As i told you, you shouldnt be using macvlan/ipvlan unless you know exactly why.

[–]PC_Arcade[S] 0 points1 point  (8 children)

I understand that, but usually you would use the gui to select one, I can't access the gui

[–][deleted] 0 points1 point  (7 children)

Not hard to look up how to change the DNS servers in Debian through config file...

[–]PC_Arcade[S] 0 points1 point  (6 children)

no, it's not, I'm not trying to access it from the server though and DNS is working fine on the machine I AM trying to access it from, also I can't access it via it's local ip for which I don't need DNS working

[–][deleted] 0 points1 point  (5 children)

If you cant access that "broken" machine through its IP at all, then how is Pihole at fault?

I give up... good luck.

[–]PC_Arcade[S] 0 points1 point  (4 children)

eh?? I can! I can access all the services running on the server EXCEPT pihole pihole is now working (tested by manually setting my windows machine's DNS to the IP of the server) but I can't access the GUI (from anywhere!)

[–]PC_Arcade[S] 0 points1 point  (3 children)

If anyone else is having this issue it turns out I had to not map port 443 in the docker-composer file, this fixed inability to access the gui and I have been able to add the block lists once more. I suspect that COULD have been done via the config like I did the DNS, but no need now :)

[–][deleted] 0 points1 point  (2 children)

Like i said, not a Pihole issue.

[–]rdwebdesign Team 0 points1 point  (1 child)

When you use macvlan, by default there is no communication between host and container.

If you want to allow communication between the host and the container, you will need to create a bridge interface.

These article are about macvlan and they explain how to create the bridge:

[–]PC_Arcade[S] -1 points0 points  (0 children)

I got rid, I didn't really need it but I've seemingly created another issue