Skip to content

Allow entering comments to the Upstreams box #2083

@emlimap

Description

@emlimap
  1. Comments support in upstream DNS box

At the moment the upstream DNS box parses lines that start with # or ! and throws an error message being unable to use that provider. Instead, it should ignore them when parsing similar to custom filtering rules box.

Comments are useful for a couple of use cases. 1st is to temporarily disable any upstream provider quickly by commenting it out. Other user case is to have comments for DNS stamps so you know which stamp is for which provider. At the moment you need to use the online decoder to find out.

  1. Option to specify multiple upstream servers for specific domain forwarding

At the moment, when specifying individual forwarding for specific domains the only way to specify backup upstream DNS servers is to duplicate the list and specify the backup DNS server. For example, at the moment it looks like this

[/example.com/example.net/]1.2.3.4
[/example.com/example.net/]5.6.7.8

It would be nice if we could specify multiple upstream DNS servers in one line. For example, something like below, separated by comma.

[/example.com/example.net/]1.2.3.4,5.6.7.8

The above example for unencrypted DNS but could be extended to support DoT, DoH & Dnscrypt

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions