Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
When setting custom dns servers in dns field, kea is set to gateway address when "Auto collect option data" is enabled. Un-setting "Auto collect option data" and reloading custom DNS servers corrects the GUI to show custom dns server addresses, but leases are still being handed out original gateway address for dns.
To Reproduce
Steps to reproduce the behavior:
- Go to Services > Kea DHCP [new] > Kea DHCPv4
- Click on Subnets
- Create subnet with option Auto collect option data enabled
- Enter custom DNS servers that firewall is not using
- From device refresh interface/reconnect/renew IP
- Assigned DNS from DHCP will be that of the firewall
- Disable Auto collect option data
- Correct DNS server ip's in subnet
- From device refresh interface/reconnect/renew IP
- Assigned DNS from DHCP will still be that of the gateway and not of manually set dns addresses
Expected behavior
Disabling Auto collect option data should cause kea to use custom values entered into dns field
Describe alternatives you considered
Deleting and re-creating subnet at this time without "Auto collect option data" being enabled properly respects manually entered DNS addresses for client DHCP
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 24.1-amd64
Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (2 cores, 4 threads)
Using Unbound for gateway/firewall dns
*Edit
Words are hard and proper sentence structure is harder
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
When setting custom dns servers in dns field, kea is set to gateway address when "Auto collect option data" is enabled. Un-setting "Auto collect option data" and reloading custom DNS servers corrects the GUI to show custom dns server addresses, but leases are still being handed out original gateway address for dns.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Disabling Auto collect option data should cause kea to use custom values entered into dns field
Describe alternatives you considered
Deleting and re-creating subnet at this time without "Auto collect option data" being enabled properly respects manually entered DNS addresses for client DHCP
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 24.1-amd64
Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (2 cores, 4 threads)
Using Unbound for gateway/firewall dns
*Edit
Words are hard and proper sentence structure is harder