Skip to content

Issue with configuring /etc/resolv.conf and the "search" parameter #8488

@rseleven

Description

@rseleven

Is there an existing issue for this?

  • I have searched among all existing issues (including closed issues)

screenshots or captures

No response

Actual behaviour

My previous issue #8484 was closed. It seems that the essence of the problem was not understood, and no one looked into the details.

Previously, LuCI allowed configuring the "search" parameter for the "/etc/resolv.conf" file. The configuration was done through the "/etc/config/network" file, where you could specify both an external DNS and a search domain. In the LuCI interface, these parameters were located in the same section.

Later, a commit was merged 598b7ca, which took into account the presence of the "odhcpd" and "dnsmasq" packages. In cases where the device uses a static address and an external DNS, the ability to configure the search domain previously remained. Currently, LuCI only allows configuring DNS, while the search domain cannot be set.

At the same time, the list dns_search parameter in the "/etc/config/network" file continues to work correctly and adds the "search" parameter to "/etc/resolv.conf". The mentioned commit uses the list domain parameter, but it does not cover this scenario where the "dnsmasq" and "odhcpd-ipv6only" packages are absent and a static IP address is used on the device.

Expected behaviour

-//-

Steps to reproduce

-//-

Additional Information

-//-

What browsers do you see the problem on?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions