mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-03-04 00:01:12 -05:00
Make field "Bootstrap DNS servers" accept upstream syntax #4669
Labels
No labels
P1: Critical
P2: High
P3: Medium
P4: Low
UI
bug
cannot reproduce
compatibility
dependencies
docker
documentation
duplicate
enhancement
enhancement
external libs
feature request
good first issue
help wanted
infrastructure
invalid
localization
needs investigation
performance
potential-duplicate
question
recurrent
research
snap
waiting for data
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AdGuardHome#4669
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ziris85 on GitHub (Aug 21, 2023).
Originally assigned to: @ainar-g on GitHub.
Prerequisites
I have checked the Wiki and Discussions and found no answer
I have searched other issues and found no duplicates
I want to report a bug and not ask a question or ask for help
I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
Linux, AMD64 (aka x86_64)
Installation
Snapcraft
Setup
On one machine
AdGuard Home version
0.107.36
Action
I attempted to add comments to the "Bootstrap DNS servers" text box. Attempting to apply or test the upstreams results in an error:
Contents that I'm testing with are:
Expected result
The "Examples" section immediately above the textbox indicate that lines leading with
#are proper syntax for comments, so I would expect the syntax to validate and for AdGuard to ignore the lines indicated as commentsActual result
AdGuard fails to validate the config and refuses to apply the settings
Additional information and/or screenshots
No response
@Ziris85 commented on GitHub (Aug 21, 2023):
Realized my initial config wasn't actually valid, so tested again with valid configs and verified the issue is still present. Updated initial comment with what should otherwise be valid configs
@ainar-g commented on GitHub (Aug 22, 2023):
The bootstrap field only really accepts IP addresses, if I recall correctly. It's not a proper upstream config currently, so no comments and no domain-specific rules. At the very least, the UI needs to be updated to make that clear.
@ainar-g commented on GitHub (Sep 7, 2023):
The UI changes will arrive in v0.107.37. I will retitle this issue to be about the support for the full upstream syntax, including comments.