Skip to content

DNS Wizard not working with use_domain_module = y

Summary

When using the DNS wizard and with the DNS Module enabled; when a domain is selected, this will be parse the "domain_id" as "domain". After debugging; if ($domains_settings['use_domain_module'] == 'y') { on line 77 of interface/lib/classes/dns_wizard.inc.php isn't handling correctly, due to the fact $domains_settings isn't available.

Steps to reproduce

  1. Enable Domain Module
  2. Add DNS zone with Wizard
  3. Choose domain
  4. Get an error "Domain contains invalid characters" (because the domain_id is used instead of the domain)

Correct behaviour

Line 77 should check correctly if Domain Module is used.

Environment

Server OS + version: Debian 11 ISPConfig version: 3.2.10

Edited by Till Brehm