openwisp / openwisp/netjsonconfig

[validation] dns server validation fails

Open Beginner friendly
#131 0 comments 0 reactions 0 assignees View on GitHub

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 world is not a valid hostname or ip address, the validation will pass instead

Contributor guide

Open the contributing guide

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.