Don't know what you are using for DNS forwarding on OPNsense but in both Unbound DNS and Dnsmasq there are check boxes for:Register DHCP leases in the DNS ResolverIf this option is set, then machines that specify their hostname when requesting a DHCP lease will be registered in the DNS Resolver, so that their name can be resolved. Register DHCP static mappings in the DNS Resolver If this option is set, then DHCP static mappings will be registered in the DNS Resolver, so that their name can be resolved. You should also set the domain in System: General setup to the proper value. The latter sounds like what you are looking for.