AdguardTeam / AdguardTeam/dnsproxy

--hosts-file-enabled help misleading or default state incorrect

Open
#503 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
3.3k
Forks
343
PR merge metrics
No merged PRs in 30d

Description

With --help the following description is printed:
```
--hosts-file-enabled
If specified, use hosts files for resolving.
```

1. The hosts files are used _whether this is specified or not_, since in config.go it defaults to true.

2. The syntax to disable the feature is not clear from the help (i.e. --hosts-file-enabled=false)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.