pFsense DNS woes

Zululander

New Member
Joined
Apr 24, 2024
Messages
28
Reaction score
5
Credits
248
I just rebuilt my pFsense box and all but one set of domains are resolving properly.

I have two domains i.e. mydomain1.com and mydomain2.com. My domain2.com is used for a number of other sites e.g. site1.mydomain2.com, site2.mydomain2.com etc.

Nginx Proxy Manager (the GUI version) manages these. From outside my network I can reach both domains and associated websites.

From within my network, only mydomain1.com is reachable. None of the subdomains for mydomain2.com are reachable from within my domain. When I try, I get "ERR_EMPTY_RESPONSE"

Both domains are hosted with on Cloudflare, and point to my external IP using a cname mygateway.domain3.com.

The cloudflare DNS is setup the same way for all domains. The system was working before my old pFsense box fell over so the only thing that has changed is pFsense (not nginx as that is running its original docker container).

NSLOOKUP returns the below
Code:
nslookup mydomain1.com
Server:  pfSense.mydomain3.com
Address:  192.168.17.12

Non-authoritative answer:
Name:    mydomain1.com
Address:  my.external.i.p

and for the other domain

Code:
nslookup site1.mydomain2.com
Server:  pfSense.mydomain3.com
Address:  192.168.17.12

Non-authoritative answer:
Name:    mygateway.mydomain3.com
Address:  my.external.i.p
Aliases:  site1.mydomain2.com

mygateway.domain3.com = my.external.i.p

There are no DNS entries for domain1 or domain2 in my pFsense server.

tracert returns the correct final IP.

I did some further testing and found that www.mydomain2.com works properly. The issue is only with subdomains of mydomain2.com
 
Last edited:


What is the output from

Code:
resovlectl
 


Staff online


Top