Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ISPConfig 3
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 554
    • Issues 554
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 45
    • Merge requests 45
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • 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
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #5613
Closed
Open
Created May 07, 2020 by Michael Weiß@mwrest

Adding zones to PowerDNS with 'notified_serial' set breaks native DNS replication

short description

When creating a new zone, the powerdns-plugin inserts the domain with the field "notified_serial" set to the inital serial from SOA. Therefore the pdns server does not notify any slaves since notified_serial == current serial from soa. This breaks zone replication to e.g. bind slaves.

correct behaviour

Leave out "notified_serial" when adding a new zone or set it explicitly to NULL.

environment

Any.

proposed fix

server/plugins-available/powerdns_plugin.inc.php: 137,16

$app->db->query("INSERT INTO powerdns.domains (name, type, ispconfig_id) VALUES (?, ?, ?)", $origin, 'MASTER', $ispconfig_id);

Edited May 07, 2020 by Michael Weiß
Assignee
Assign to
Time tracking