openwisp / openwisp/netjsonconfig
[validation] dns server validation fails
Open
Beginner friendly
Nobody has claimed this yet.
bug
- Dominant language
- Python
- Stars
- 388
- Forks
- 87
- Avg merge
- 1h 26m
- Merged PRs (30d)
- 4
Description
How to replicate the issue:
- try to create a configuration which has dns servers
- add an entry like "hello world" as DNS server
- try to validate the config, you would expect the validation to fail because
hello worldis not a valid hostname or ip address, the validation will pass instead
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 reproducing the issue with a configuration containing "hello world" as a DNS server, then locate the DNS-server validation entry point. The work is done when invalid hostnames or IP addresses are rejected during configuration validation and the valid cases continue to pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 62/100