Project

General

Profile

Bug #11129

Unbound restarts on every openvpn client connection

Added by Viktor Gurov 4 months ago. Updated 4 months ago.

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

0%

Estimated time:
Affected Version:
2.4.5-p1
Affected Architecture:
Release Notes:
Default

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

History

#2 Updated by Renato Botelho 4 months ago

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

PR has been merged. Thanks!

#3 Updated by Danilo Zrenjanin 4 months 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.

Also available in: Atom PDF