openwisp / openwisp/netjsonconfig
[openwrt] Allow configure DNS resolvers without the need of defining interfaces
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 388
- Forks
- 87
- Avg merge
- 1h 26m
- Merged PRs (30d)
- 4
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
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.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100