Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 633
    • Issues 633
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 87
    • Merge requests 87
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • BINDBIND
  • Issues
  • #2170
Closed
Open
Issue created Sep 20, 2020 by Wayne Epstein@wept

rndc reconfig and plugin

Summary

Not positive this is a bug but it seems odd to me. When rndc reconfig is run a plugin will be loaded and then unloaded.

BIND version used

BIND 9.14.6 (Stable Release) <id:unset_id>
running on Linux x86_64 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2 (2020-04-29)
built by make with '--enable-dnstap' '--enable-dnsrps' '--sysconfdir=/etc/bind'
compiled by GCC 8.3.0
compiled with OpenSSL version: OpenSSL 1.1.1d  10 Sep 2019
linked to OpenSSL version: OpenSSL 1.1.1d  10 Sep 2019
threads support is enabled

default paths:
  named configuration:  /etc/bind/named.conf
  rndc configuration:   /etc/bind/rndc.conf
  DNSSEC root key:      /etc/bind/bind.keys
  nsupdate session key: /var/run/named/session.key
  named PID file:       /var/run/named/named.pid
  named lock file:      /var/run/named/named.lock

Steps to reproduce

configure a plugin
start bind9
rndc reconfig
look at named.run

What is the current bug behavior?

When rndc reconfig is run a plugin is loaded and then unloaded - see named.run.

What is the expected correct behavior?

Would expect plugin to be unloaded and then loaded.

Relevant configuration files

n/a

Relevant logs and/or screenshots

14-Sep-2020 15:16:02.445 config: info: none:100: 'max-cache-size 90%' - setting to 3414MB (out of 3793MB)
14-Sep-2020 15:16:02.445 config: info: /etc/bind/named.conf.options:8: using specific query-source port suppresses port randomization and can be insecure.
14-Sep-2020 15:16:02.448 general: debug 1: managed-keys-zone: synchronizing trusted keys
!!!! 14-Sep-2020 15:16:02.448 general: info: loading plugin '/home/wepp/source/bind/bind9-v9_14/bin/plugins/filter-aaaa.so'
14-Sep-2020 15:16:02.448 general: info: registering plugin '/home/wepp/source/bind/bind9-v9_14/bin/plugins/filter-aaaa.so'
14-Sep-2020 15:16:02.448 general: info: registering 'filter-aaaa' module from /etc/bind/named.conf:28, with parameters
14-Sep-2020 15:16:02.449 general: debug 1: zone_settimer: zone version.bind/CH: enter
14-Sep-2020 15:16:02.449 general: debug 1: zone_settimer: zone hostname.bind/CH: enter
14-Sep-2020 15:16:02.449 general: debug 1: zone_settimer: zone authors.bind/CH: enter
14-Sep-2020 15:16:02.449 general: debug 1: zone_settimer: zone id.server/CH: enter
14-Sep-2020 15:16:02.449 config: info: none:100: 'max-cache-size 90%' - setting to 3414MB (out of 3793MB)
14-Sep-2020 15:16:02.449 config: info: /etc/bind/named.conf.options:8: using specific query-source port suppresses port randomization and can be insecure.
14-Sep-2020 15:16:02.452 general: info: configuring command channel from '/etc/bind/rndc.key'
14-Sep-2020 15:16:02.452 general: info: configuring command channel from '/etc/bind/rndc.key'
14-Sep-2020 15:16:02.452 general: debug 1: now using logging configuration from config file
14-Sep-2020 15:16:02.453 general: debug 1: load_configuration: success
14-Sep-2020 15:16:02.453 general: info: reloading configuration succeeded
14-Sep-2020 15:16:02.454 general: info: scheduled loading new zones
14-Sep-2020 15:16:02.455 database: debug 1: calling free_rbtdb(.)
14-Sep-2020 15:16:02.455 database: debug 1: done free_rbtdb(.)
!!!! 14-Sep-2020 15:16:02.455 general: debug 1: unloading plugin '/home/wepp/source/bind/bind9-v9_14/bin/plugins/filter-aaaa.so'
14-Sep-2020 15:16:02.456 general: info: any newly configured zones are now loaded

Possible fixes

unknown

Assignee
Assign to
Time tracking