Project

General

Profile

Actions

Bug #11129

closed

Unbound restarts on every openvpn client connection

Added by Viktor Gurov almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
DNS Resolver
Target version:
Start date:
12/04/2020
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5-p1
Affected Architecture:

Description

if "Register connected OpenVPN clients in the DNS Resolver" (regovpnclients) option is enabled,
unbound restarts on every openvpn client connection.

It seems possible to avoid it by using command 'unbound-control local_data {$host['fqdn']} {$type} {$host['ipaddr']}
in /usr/local/sbin/openvpn.learn-address.sh
instead of 'pkill -HUP -F /var/run/unbound.pid' on every connection

see also #5413

Actions #2

Updated by Renato Botelho almost 4 years ago

  • Status changed from New to Feedback
  • Assignee set to Viktor Gurov
  • Target version set to 2.5.0

PR has been merged. Thanks!

Actions #3

Updated by Danilo Zrenjanin almost 4 years ago

  • Status changed from Feedback to Resolved

Tested on:

2.5.0-DEVELOPMENT (amd64)
built on Fri Dec 11 03:05:22 EST 2020
FreeBSD 12.2-STABLE

It doesn't restart the unbound service anymore. Ticket resolved.

Actions

Also available in: Atom PDF