I can't connect by hostname to anything using KEA DHCP

Started by frozen, December 31, 2024, 05:00:21 PM

Previous topic - Next topic
Hi there!

I reinstalled OPNsense yesterday and this time used the new KEA instead of ISC, and I can no longer connect to important devices on my network such as 'homeassistant' nor 'proxmox' by hostname which used to work just fine.  I now have to literally type in 192.168.1.x instead

```
Microsoft Windows [Version 10.0.22631.4602]
(c) Microsoft Corporation. All rights reserved.

C:\Users\ice>ping homeassistant
Ping request could not find host homeassistant. Please check the name and try again.

C:\Users\ice>ping homeassistant.
Ping request could not find host homeassistant.. Please check the name and try again.

C:\Users\ice>ping homeassistant.home
Ping request could not find host homeassistant.home. Please check the name and try again.

C:\Users\ice>ping homeassistant.local
Ping request could not find host homeassistant.local. Please check the name and try again.
```

I already have it's entry added under RESERVATIONS in KEA and it picks up it's static IP with no problems, but it refuses to reply by hostname, neither via ping or telnet nor via web browser

thanks for any advice!

Check that you have enabled: Services -> Unbound DNS -> General -> Register DHCP Static Mappings

(I think) It's also necessary to restart the Unbound DNS service after adding static mappings.

It is NOT checked!  I am on the page now, and will try to enable it.  Thanks so much!

C:\Users\ice>ping homeassistant

Pinging homeassistant.localdomain [192.168.1.8] with 32 bytes of data:
Reply from 192.168.1.8: bytes=32 time<1ms TTL=64
Reply from 192.168.1.8: bytes=32 time<1ms TTL=64

awesome!  Thank you once again

I will be making another donation, my third, to OPNsense soon once I get everything working exactly as intended.. very close now