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 556
    • Issues 556
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 42
    • Merge requests 42
  • 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
  • #6187
Closed
Open
Created Jun 18, 2021 by francois parreaux-ey@francoisPEContributor

DS RECORD functions for API

Hello,

Following below discussion (link) I propose to add DS RECORD functions for API

https://www.howtoforge.com/community/threads/dnssec-cascade-inside-ispconfig.86988/#post-423182

code added in 'interface/lib/classes/remote.d/dns.inc.php' // ----------------------------------------------------------------------------------------------------------------

//* Get record details public function dns_ds_get($session_id, $primary_id) { return $this->dns_rr_get($session_id, $primary_id, 'DS'); }

//* Add a record public function dns_ds_add($session_id, $client_id, $params, $update_serial=false) { return $this->dns_rr_add($session_id, $client_id, $params, $update_serial, 'DS'); }

//* Update a record public function dns_ds_update($session_id, $client_id, $primary_id, $params, $update_serial=false) { return $this->dns_rr_update($session_id, $client_id, $primary_id, $params, $update_serial, 'DS'); }

//* Delete a record public function dns_ds_delete($session_id, $primary_id, $update_serial=false) { return $this->dns_rr_delete($session_id, $primary_id, $update_serial, 'DS'); }

As a reminder, in case you want to have a cascade of zones using DNSSEC, you need to :

  1. let's create child.dom.tld 1.a Create zone with 'dnssec_wanted=y'
  2. in parent zone ie dom.tld 2.a. Create DS_record pointing to child zone (this is the aim of the functions I am adding) 2.b. Create 2 NS_records pointing to child zone
  3. update parent zone dom.tld to have zone signing updated
  4. don't forget to create secondary Zones on your secondary bind server

Many thanks for your trust francoisPE

Edited Jun 18, 2021 by francois parreaux-ey
Assignee
Assign to
Time tracking