OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: gspannu on July 24, 2024, 08:13:12 PM

Title: KEA DHCP - Resolving hostnames of static IP reservations
Post by: gspannu on July 24, 2024, 08:13:12 PM
Does anyone know if the 24.7 release has fixed the KEA DHCP static IP hostname resolution?

In previous (24.1.x) versions, one could define static IP reservations in KEA.
Services > KEA > Kea DHCPv4 > Reservations


And assign static IP addresses for certain clients against MAC addresses and give them host names.
E.g. Assign MAC address bc:24:11:01:01:11 a static IP of 192.168.1.200 and hostname client-abc

However, on running
nslookup client-abc
the resolution failed and it did not return the IP address (e.g. 192.168.1.200)


Has this been fixed in this release? Can someone test please?
Title: Re: KEA DHCP - Resolving hostnames of static IP reservations
Post by: gspannu on July 25, 2024, 09:31:13 AM
Could anyone on the 24.7 RC1, RC2 or Production Build test this and report please?

Thanks...
Title: Re: KEA DHCP - Resolving hostnames of static IP reservations
Post by: wogman on July 25, 2024, 10:14:27 AM
Works fine for me. :D
Title: Re: KEA DHCP - Resolving hostnames of static IP reservations
Post by: gspannu on July 25, 2024, 10:27:17 AM
Quote from: wogman on July 25, 2024, 10:14:27 AM
Works fine for me. :D

Many thanks for the confirmation...

Could you also try a reverse nslookup using IP address and check that it resolves?
e.g.
nslookup 192.168.1.200