Project

General

Profile

Feature #9797

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

Added by Viktor Gurov 12 months ago. Updated 8 months ago.

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

0%

Estimated time:

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

History

#2 Updated by Jim Pingle 12 months 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.

#3 Updated by Viktor Gurov 12 months 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)

#4 Updated by Jim Pingle 12 months 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.

#5 Updated by Viktor Gurov 8 months ago

  • Status changed from Pull Request Review to Closed

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

Also available in: Atom PDF