Changeset 832
- Timestamp:
- May 7, 2016, 8:47:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigLinux/Generators/DNS.php
r812 r832 41 41 42 42 // Base server 43 $Output .= "@\tIN\t CNAME\t".strtolower($DNS['BaseServer'])."\n";43 $Output .= "@\tIN\tA\t".strtolower($DNS['BaseServer'])."\n"; 44 44 45 45 // IPv4 host list … … 151 151 $Now = getdate(); 152 152 $I = floor(($Now['hours'] * 60 * 60 + $Now['minutes'] * 60 + $Now['seconds']) / (24 * 60 * 60) * 100); 153 $Serial = date('Ymd', time()). $I;153 $Serial = date('Ymd', time()).sprintf('%02d', $I); 154 154 $MinimumTime = 7200; 155 155 $RetryTime = 7200; … … 177 177 'MailServer' => array('centrala.'.$BaseDomain), 178 178 'NameServer' => array('centrala.'.$BaseDomain, 'mozek.'.$BaseDomain), 179 'BaseServer' => ' centrala.'.$BaseDomain,179 'BaseServer' => '10.145.64.8', 180 180 'ReverseNameServer' => array('centrala.'.$BaseDomain, 'mozek.'.$BaseDomain), 181 181 'Host' => array(), … … 243 243 'MailServer' => array('centrala.'.$BaseDomain), 244 244 'NameServer' => array('gw-hajda.inext.cz', 'ns0.xname.org', 'ns2.afraid.org'), 245 'BaseServer' => ' centrala.'.$BaseDomain,245 'BaseServer' => '10.145.64.8', 246 246 'ReverseNameServer' => array('gw-hajda.inext.cz', 'inext.inext.cz'), 247 247 'Host' => array(), … … 285 285 'MailServer' => array('centrala.'.$BaseDomain), 286 286 'NameServer' => array('centrala.'.$BaseDomain, 'mozek'.$BaseDomain), 287 'BaseServer' => ' centrala.'.$BaseDomain,287 'BaseServer' => '10.145.64.8', 288 288 'ReverseNameServer' => array('centrala.'.$BaseDomain, 'mozek.'.$BaseDomain), 289 289 'Host' => array(), … … 327 327 'MailServer' => array('centrala.'.$BaseDomain), 328 328 'NameServer' => array('centrala.'.$BaseDomain, 'mozek.'.$BaseDomain), 329 'BaseServer' => ' centrala.'.$BaseDomain,329 'BaseServer' => '10.145.64.8', 330 330 'ReverseNameServer' => array('centrala.'.$BaseDomain, 'mozek.'.$BaseDomain), 331 331 'Host' => array(),
Note:
See TracChangeset
for help on using the changeset viewer.