OPNsense Forum

English Forums => General Discussion => Topic started by: misterjtc on January 23, 2021, 03:36:42 PM

Title: Local Domain Specified in OPNsense not Working Except for Firewall
Post by: misterjtc on January 23, 2021, 03:36:42 PM
Hi,

Pardon if this is a stupid question, but I am not a networking expert. I want to use the local domain specified in OPNsense for the services on my LAN, but it doesn't seem to work.

For example, I have the hostname "firewall" specified in general settings and "jayc.lan" specified under domain.

This works and I am able to reach the WebUI at http://firewall.jayc.lan but it doesn't work for any other services.

I have a number of DHCP static mappings configured with the hostname field filled out, but I can't reach them at http://hostname.jayc.lan or http://hostname or really anything actually other than by using the IP.

Is this meant to be the default functionality? I assume it would be very beneficial and probably default functionality to be able to use the domain? Especially for non-static services...

Is there a way I can enable the above to use the local domain specified? What am I missing?

Thanks in advance!
Title: Re: Local Domain Specified in OPNsense not Working Except for Firewall
Post by: allebone on January 24, 2021, 03:13:00 AM
What dns server did you setup on opnsense? Unbound? If so you add a records in there or ptr records.
Title: Re: Local Domain Specified in OPNsense not Working Except for Firewall
Post by: misterjtc on January 27, 2021, 12:11:40 AM
Thanks for the reply!

This appears to have led me in the correct direction.

I enabled two checkboxes to get this working:

1. Register DHCP Leases
2. Register DHCP Static Mappings

Thanks!
Title: Re: Local Domain Specified in OPNsense not Working Except for Firewall
Post by: allebone on January 28, 2021, 11:25:10 PM
No worries.