Changeset 261 for trunk/system/generators/dns.php
- Timestamp:
- Nov 13, 2009, 6:37:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/generators/dns.php
r245 r261 114 114 'Host' => array(), 115 115 'Alias' => array(), 116 'Network' => array('1 92.168.0', '192.168.1', '192.168.2', '192.168.3', '192.168.4', '192.168.5', '192.168.6', '192.168.7', '77.92.221'),116 'Network' => array('10.145.64', '10.145.65', '10.145.66', '10.145.67', '77.92.221'), 117 117 ); 118 118 … … 136 136 137 137 // CZFree records in internal server 138 /* 138 139 $DbResult = $Database->query('SELECT NetworkInterface.*, NetworkDevice.Name AS DeviceName FROM NetworkInterface JOIN NetworkDevice ON NetworkDevice.Id = NetworkInterface.Device WHERE NetworkInterface.CZFreeIP <> ""'); 139 140 while($Interface = $DbResult->fetch_assoc()) … … 143 144 $LocalDNS['Host'][] = array('Name' => $Name.'-czfree', 'Address' => $Interface['CZFreeIP']); 144 145 } 146 */ 145 147 146 148 // Domain aliases … … 187 189 } 188 190 189 191 /* 190 192 // === CZFree network DNS server === 191 193 $BaseDomain = 'zdechov.zlin.czf'; … … 226 228 227 229 // === CZFree network local address === 228 $BaseDomain = 'zdechov .zlin.czf';230 $BaseDomain = 'zdechovnet.czf'; 229 231 $CZFreeLocalDNS = array( 230 232 'Domain' => $BaseDomain, … … 263 265 } 264 266 267 GenerateDNS($CZFreeDNS); 268 GenerateDNS($CZFreeLocalDNS); 269 */ 270 265 271 GenerateDNS($LocalDNS); 266 272 GenerateDNS($ExternalDNS); 267 GenerateDNS($CZFreeDNS);268 GenerateDNS($CZFreeLocalDNS);269 273 270 274 ?>
Note:
See TracChangeset
for help on using the changeset viewer.