Hi,

Software:
Webmin version 1.441
Virtualmin version 3.65 Pro
PowerDNS Domain 1.5

Configuration:
Virtualmin->System settings->Server settings:
Default virtual server IP address aaa.aaa.aaa.aaa (DMZ private IP)
Default IP address for DNS records Other address:bbb.bbb.bbb.bbb (Public IP)

Virtualmin->Features and Plugins->PowerDNS Domain (Open):
...
$DOM A 2400 $DNS_IP
...

The above set up allows to run Virtualmin on a server behind the firewall. The problem occures when new virtual server is created with SSL support. The virtual server with SSL enabled need to have it's dedicated IP address, which is assigned to the NIC.

Create Virtual Server->IP address and forwarding:
Network interface Virtual with IP ccc.ccc.ccc.ccc (DMZ private IP)

When new virtual server is created the Apache configuration is correct. Virtualhosts definitions for port 80 and 443 are defined to listen on a ccc.ccc.ccc.ccc. However the PowerDNS has created new zone also using ccc.ccc.ccc.ccc address, which is obviously incorrect.

There is no way to specify in the virtualmin configuration what public IP (dedicated for the SSL virtual server) should be used by PowerDNS plugin in a new zone.

Status: 
Closed (fixed)