Project

General

Profile

Actions

Feature #9797

closed

services_unbound_advanced.php: add prefer-ip6 option to dns resolver gui

Added by Viktor Gurov over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
DNS Resolver
Target version:
-
Start date:
09/26/2019
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:

Description

from man unbound.conf(5):

prefer-ip6: <yes or no>
              If enabled, prefer IPv6 transport for sending DNS queries to internet nameservers. Default is no.

this patch will add option to Advanced Resolver Options page


Files

Actions #2

Updated by Jim Pingle over 4 years ago

  • Status changed from New to Pull Request Review
  • Target version deleted (2.5.0)

What is the use case for this vs changing the global setting under System > Advanced, Networking tab?

The number of scenarios that would require setting DNS independently of the system as a whole seems like it would be exceptionally low.

Actions #3

Updated by Viktor Gurov over 4 years ago

Jim Pingle wrote:

What is the use case for this vs changing the global setting under System > Advanced, Networking tab?

The number of scenarios that would require setting DNS independently of the system as a whole seems like it would be exceptionally low.

This can be used in case when you need to send all your DNS queries inside GIF tunnel (when it available)

Actions #4

Updated by Jim Pingle over 4 years ago

If the system as a whole prefers IPv6 (the default) then it would use the gif tunnel anyhow. Or not, if that's what the admin chose.

In the rare case something like that is necessary, the user could easily place this single line in advanced options. If we make GUI options for every single Unbound directive, the GUI will be very cluttered. If it were something more common, more complicated, or difficult to do in advanced options, I'd be more inclined to agree it would be useful to have in the GUI. However, in this case it does not appear to be warranted.

Actions #5

Updated by Viktor Gurov about 4 years ago

  • Status changed from Pull Request Review to Closed

Not so necessary
Can be entered in the 'custom options' field

Actions

Also available in: Atom PDF