opnsense / core

OPNsense GUI, API and systems backend
https://opnsense.org/
BSD 2-Clause "Simplified" License
3.31k stars 738 forks source link

Kea DHCP: DNS server addresses disappear in subnet settings #7225

Closed KaiKimera closed 8 months ago

KaiKimera commented 8 months ago

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

DNS server addresses disappear in Subnet settings.

To Reproduce

Steps to reproduce the behavior:

  1. Add several DNS servers (10.0.0.1, 1.1.1.1, 8.8.8.8) to Subnet.
  2. Click the Save button.
  3. Open Subnet settings.
  4. See only 10.0.0.1.

Environment

Software version used and hardware type if relevant, e.g.:

AdSchellevis commented 8 months ago

looks like using "Auto collect option data"

image
KaiKimera commented 8 months ago

looks like using "Auto collect option data" image

The issue is resolved. I forgot about this checkbox. My mistake.

AdSchellevis commented 8 months ago

@KaiKimera no problem, I've added https://github.com/opnsense/core/commit/bf9996989ee653ce1cc4c0df03f2405d78c30721 to make it more explicit from the users perspective. (hide when automatically collected on save)