Bug #12613
closedDNS Resolver does not restart during link up/down events on a static IP address interface
0%
Description
How to reproduce:
1) Configure the interface with Static IPv4
2) Select this interface in the "Network Interfaces" and/or "Outgoing Network Interfaces" list on the Services / DNS Resolver page
3) Disconnect this interface and reboot
3) Check the interface/outgoing-interface entries in /var/unbound/unbound.conf
3) Connect this interface - you'll see the "/rc.linkup: Hotplug event detected for INTERFACE static IP (x.x.x.x)" in logs
4) interface/outgoing-interface entries in /var/unbound/unbound.conf do not have a connected interface IP
5) Same with disconnecting - /var/unbound/unbound.conf still have a disconnected interface IP
Workaround - reboot or restart DNS Resolver
#11547 should be improved
Related issues
Updated by Viktor Gurov almost 3 years ago
- Related to Regression #12215: OpenVPN does not resync when running on a gateway group added
Updated by Viktor Gurov almost 3 years ago
- Related to Regression #11570: Gateway monitoring services is not always restarted on interface events, which may prevent a WAN from recovering back to an online state added
Updated by Viktor Gurov almost 3 years ago
- Status changed from New to Feedback
- Assignee set to Viktor Gurov
- Target version set to CE-Next
- Plus Target Version set to 22.05
should be fixed in #11570
Updated by Jim Pingle almost 3 years ago
- Target version changed from CE-Next to 2.7.0
Updated by Jim Pingle over 2 years ago
- Subject changed from unbound does not restarts on up/down link events on a static IP interface to DNS Resolver does not restart during link up/down events on a static IP address interface
Updating subject for release notes.
Updated by Danilo Zrenjanin over 2 years ago
Tested
2.7.0-DEVELOPMENT (amd64) built on Wed Jun 01 06:12:27 UTC 2022 FreeBSD 12.3-STABLE
When I unplug the cable it doesn't update the unbound.conf accordingly. /var/unbound/unbound.conf still has the disconnected interface IP.
After reboot the /var/unbound/unbound.conf was updated accordingly.
It works fine when plugging the cable back. It automatically adds Interface IP to bind to and Outgoing interfaces to be used in the unbound.conf file.
Needs more testing.
Updated by Jim Pingle over 2 years ago
- Status changed from Feedback to Resolved
Based on the original problem description and steps to reproduce it sounds like this specific request is fixed. For the other part, let's move that to a new Redmine issue and take care of it on a future release.
Updated by Jim Pingle over 2 years ago
- Related to Bug #13254: DNS resolver does not update its configuration or reload during link down events added