So I have a couple of Dell Optiplexes (Optipli?). One is running pfSense, the other is running a Linux/DynDNS/Docker/Traefik/Nextcloud stack. The way Traefik is configured, when there’s incoming traffic from cloud.mydomain.com, it redirects it to the proper server.
The cloud.mydomain.com was working fine on my old router. But when I put up my pfSense box, it broke. I have NAT set up for WAN and LAN for HTTP and HTTPS to that box. I have a static IP assigned to it, and the weird thing is that accessing it off the network via cloud.mydomain.com works just fine. Local access, however, gives me a DNS Rebind error.
I tried disabling the DNS Resolver and switching to DNS Forwarder (still not totally sure on the differences between the two) and adding an exception for cloud.mydomain.com. This worked OK for a while, but then randomly stopped working and giving me the DNS Rebind warning/error. I can’t use the local IP because of the Traefik rules.
Is there any way to set this up properly so that it forwards my domain to the actual machine? Thanks for the help.