[openwrt] Allow configure DNS resolvers without the need of defining interfaces

Open
#117 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #129 by @NoumbissiValere — closed without merging

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
networking

Research direction

Start by tracing how the library turns interfaces and dns_servers into OpenWrt configuration. Verify the behavior when interfaces is omitted, then add coverage showing that the DNS resolver settings still take effect without interface definitions.

Written by the indexing model from the issue text.

Description

enhancement

In OpenWRT, dns settings are configured at interface level, you need to define some interfaces to make this config effective on OpenWRT.

Eg:

{
    "interfaces": [
       { ...something here... }
    ]
    "dns_servers": [
        "8.8.8.8",
        "8.8.4.4"
    ]
}

But this is not very good. There should be a way to make the DNS configuration work also when interfaces are not defined.

Dominant language
Python
Stars
389
Forks
97
Avg merge
1d 14m
Merged PRs (30d)
14

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openwisp/netjsonconfig

All issues in openwisp/netjsonconfig

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.