After I switch from NPM to Traefik I can't connect to the wing from the dashboard and when I check the wing logs I get this error even though I used the exact same configuration:
FATAL: [Jan 2 15:12:19.992] failed to load server configurations error=http: request creation failed: Get "https://pterodactyl.local.example.com/api/remote/servers?page=0&per_page=50": dial tcp: lookup pterodactyl.local.example.com on 127.0.0.11:53: no such host
My theory is that since I switched from a public to a local DNS record only availble to pihole, the docker DNS config can't see the panel, but I changed it to use my local DNS server and it still doesn't works so it would be great if someone coud help
The DNS server I'm using in the pterodactyl config: docker: network: interface: 172.18.0.1 dns: - 1.1.1.1 - 1.0.0.1
What I think it should be: docker: network: interface: 172.18.0.1 dns: - piholedns.ip
Update: I apparently found the solution, and it was to change my Proxmox server's DNS from Cloudflare to my Pihole DNS since I had accidentally set it to Cloudflare previously, and the DNS record was on my Pihole. When I switched from NPM to Traefik I also change the DNS from public to local so that was the problem.
Solution: Change Proxmox server's DNS to Pihole local DNS.