operasoftware / dns-ui

Opera's LDAP-authenticated PowerDNS user interface
Apache License 2.0
282 stars 58 forks source link

Add DHCID record type #167

Closed imrejonk closed 4 years ago

imrejonk commented 4 years ago

These changes add support for importing bind9 zone files that contain DHCID records [1], as well as validation of DHCID entries in the zone.php template.

[1] https://tools.ietf.org/html/rfc4701

The DHCID RDATA consists of a base64 string, hence the complicated regular expression. I have tested my changes against the DHCID records that we use at work as well as the example records provided by RFC 4701.