Skip to content

PDNS 4.2 (beta) compatibility #2574

@Tatsu-Kishi

Description

@Tatsu-Kishi

Describe the bug
PowerDNS 4.2 removed the Autoserial feature and with that changed the schema, removing the change_date, currently requiring manual change of the schema to make it compatible with phpipam.

phpIPAM version
1.3.2

Versions of phpIPAM known to contain the issue.

  • not tested: (Latest git master development branch.)
  • Latest production release 1.3.2.

Your Environment (please supply the following information):

  • phpIPAM version: 1.3.2
  • OS: Ubuntu 64bit 16.04 (phpipam), 18.04 (pdns)
  • PHP version php 7.0
  • Webserver Apache
  • Database MariaDB 10.2
  • PDNS 4.2 (beta)

Steps To Reproduce
Please include steps to reproduce the issue:

  1. Set up fresh PDNS install
  2. Connect phpipam to PDNS database
  3. Get "missing field change_date"
  4. After fix of schema, Autoserial: On will yield Serial of 0 when querying PDNS for SOA record

A compatibility option in config.php or some autodetection magic would be great which disables the Autoserial option and expected database schema (or adjusts schema after confirmation).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions