[Solved] Need help with DNS resolver with PfSense

I have a SBC with ubuntu that I configured to have a static IP which I can ssh into, however I tried to configure it on pfsense such that I can ssh into it with a name such as mysbc.mydomain.local, but I can’t ping or ssh. When I do DNS look up it’s listed under “Non-authoritative answer”. How do I fix this?

I am not sure where you are setting it up but I use unbound and have it set as an override… I am using opnsense (it’s been a while since I used ofsense but I recall the unbound sections being similar)

What’s the menu navigation to get there?

For me it’s services → unbound dns → overrides (but that’s opnsense)

For pfsense it may be labbed domain overrides
https://docs.netgate.com/pfsense/en/latest/services/dns/resolver-domain-overrides.html

Note the .local TLD is reserved for mDNS. It is possible that, depending on the configuration of your client, the ping and ssh commands are not using your DNS server to resolve that name. It is not unheard of for DNS lookup utilities to get different behavior from other applications in scenarios like this. I would try setting up a name with a different TLD.

1 Like

Yup that was the trouble maker. Removed .local and it was fine.

3 Likes