Skip to content

Custom options for resolv.conf #7264

@dominikborkowski

Description

@dominikborkowski

Important notices

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

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

Our environments heavily use ndots feature of various resolvers. Unfortunately, we can't find a way to inject that option into /etc/resolv.conf, because it gets overwritten by OPNsense right away.

Specifically, this is on systems with unbound service disabled, so we can't leverage that service in any way.

Describe the solution you like

We'd love to see an additional OPNsense configuration option for 'arbitrary' resolver options. In our case it's ndots:4, but I imagine there are other options other people would be interested in injecting.

Describe alternatives you considered

We've tried a custom dhclient hook via /etc/dhclient-exit-hooks, which is executed, but any changes we make to /etc/resolv.conf get wiped right away.

Thank you in advance!

Metadata

Metadata

Assignees

Labels

featureAdding new functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions