- added possibility to let the cron create mail-specific A-records (mail, imap, pop3, smtp) even when MX-servers are given, fixes #242
This commit is contained in:
@@ -225,6 +225,17 @@ class bind
|
||||
{
|
||||
$zonefile.= '@ IN MX ' . trim($mxserver) . "\n";
|
||||
}
|
||||
|
||||
if($this->settings['system']['dns_createmailentry'] == '1')
|
||||
{
|
||||
$zonefile.= 'mail IN ' . $ip_a_record . "\n";
|
||||
if($domain['iswildcarddomain'] != '1')
|
||||
{
|
||||
$zonefile.= 'imap IN ' . $ip_a_record . "\n";
|
||||
$zonefile.= 'smtp IN ' . $ip_a_record . "\n";
|
||||
$zonefile.= 'pop3 IN ' . $ip_a_record . "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user