core icon indicating copy to clipboard operation
core copied to clipboard

Ability to disable search domain entirely for specific DHCPv6 and/or DHCPv4 servers

Open samip5 opened this issue 10 months ago • 11 comments

Important notices

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

  • [x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
  • [x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Is your feature request related to a problem? Please describe.

My FR is related to the problem that comes from having Kubernetes pods inherit the DNS settings from hosts that get an search-domain set, as it will result in unwanted behavior due to the default ndots of 5.

Describe the solution you like

I would like the ability to not set search domain at all in specific DHCP server settings for both v6 and v4. I think that when disabled, the correct behavior would be to not send search domains at all.

Describe alternatives you considered

I have considered to just reconfigure the hosts to not accept DNS from DHCP, but that's not the right choice to me.

Additional context

This was specifically painful before alpine 3.18 due to musl related DNS stub resolver thing

samip5 avatar Oct 08 '23 00:10 samip5