How to restore FQDN lookup?

Started by baqwas, November 12, 2025, 04:38:41 AM

Previous topic - Next topic
Hello!

How to restore FQDN resolution?

I am using Dnsmasq for DNS and DHCP, and I've enabled Unbound DNS. I can see lease activity and:

Services: Dnsmasq DNS & DHCP
Default
Enable [✓]
Interface [LAN]

DNS
Listen port
DNSSEC [✓] Current date/time is accurate on Lobby: Dashboard page

DHCP FQDN [✓]
DHCP default domain [name entered]
DHCP local domain [✓]
DHCP authoritative [✓]
DHCP reply delay [blank]
DHCP register firewall rules [✓]
Router advertisements [unchecked]
Disable HA sync [unchecked]

ISC/KEA DHCP (legacy) <== not using knowingly but
Register ISC DHCP4 leases [✓]
DHCP domain override [blank]
Reigster DHCP static mappings [✓]
Prefer DHCP [blank]

Services: Unbound DNS: General
Enable Unbound [✓]
Listen Port 53
Network Interfaces [All]
Enable DNSSEC Support [✓]
Register ISC DHCP4 leases [✓]
Register DHCP Static Mappings [✓]

How can I get FQDN lookup to work? Thanks.

Regards.

Configuration:
OPNsense 25.7.7_4-amd64
FreeBSD 14.3-RELEASE-p4

Thanks, @fixwithzubair! Here is the information you requested:

OS: Ubuntu 25.10 x86_64
Kernel: Linux 6.14.0-15-generic
Versions OPNsense 25.7.7_4-amd64
FreeBSD 14.3-RELEASE-p4

Under Lobby: Dashboard: Services, Unbound is the only line item that has two buttons - one red with tool-tip Stopped, the other Start which does not complete.

I logged on terminal mode and ran the following commands:
service unbound status
sudo killall unbound
sudo service unbound start

The commands run but on the Dashboard page, Ubound still appears with the red button.

I am not going to make any futher changes until I hear from you. Thanks a bunch.

Regards.

Hello @fixwithzubair,

Allow me to add a note for your consideration:

Dnsmasq DNS/DHCP was working fine prior to my original post. In other words, hostname and FQDN were working but now it is broken. I messed up the reverse PTR configuration because I don't seem to have easy access to lo0 interface but I do believe it is set to 127.0.0.1/8.

Regards.

Hello @fixwithzubari,

I uninstalled and re-installed Unbound DNS with pkg. Subsequently, I configured the loopback interface and everything is work as before.

Many, many thanks for nudging me in the right direction.

Regards.