Skip to content
GitLab
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 579
    • Issues 579
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 48
    • Merge requests 48
  • 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
  • #4978
Closed
Open
Issue created Mar 03, 2018 by freeos@freeos

Changing regex for dns_ns to allow delegating LE requests to seperate nameservers

For upcoming wildcard certificates from Let's Encrypt it would be nice to delegate LE (dns-challenge) requests to a seperate nameserver like: _acme-challenge.example.com. NS ... ns2.exmaple.com.

Therefore it is needed to change the regex for /ispconfig3/interface/web/dns/form/dns_ns.tform.php from:

'validators' => array ( 0 => array ( 'type' => 'REGEX', 'regex' => '/^[a-zA-Z0-9\.\-]{0,255}$/', 'errmsg'=> 'name_error_regex'), to

'validators' => array ( 0 => array ( 'type' => 'REGEX', 'regex' => '/^[_a-zA-Z0-9\.\-]{0,255}$/', 'errmsg'=> 'name_error_regex'),

Assignee
Assign to
Time tracking