Changeset 245 for trunk/system/generators/dns.php
- Timestamp:
- Aug 29, 2009, 9:28:25 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/generators/dns.php
r235 r245 70 70 { 71 71 $Parts = explode('.', $Network); 72 $Output = '$ORIGINS '.$Parts[2].'.'.$Parts[1].'.'.$Parts[0].'.in-addr.arpa'.72 $Output = // '$ORIGIN '.$Parts[2].'.'.$Parts[1].'.'.$Parts[0].'.in-addr.arpa'."\n". 73 73 '$TTL '.$DNS['TTL']."\n". 74 74 "@\tIN\tSOA\t".$DNS['NameServer'][0].".\troot.".$DNS['Domain'].". (\n". … … 79 79 "\t\t\t\t".$DNS['Minimum']."\t; minimum\n". 80 80 "\t\t\t\t)\n"; 81 foreach($DNS[' NameServer'] as $NameServer)81 foreach($DNS['ReverseNameServer'] as $NameServer) 82 82 { 83 83 if(substr($NameServer, -strlen($DNS['Domain'])) == $DNS['Domain']) … … 111 111 'MailServer' => array('centrala.'.$BaseDomain), 112 112 'NameServer' => array('centrala.'.$BaseDomain, 'tv.'.$BaseDomain), 113 'ReverseNameServer' => array('centrala.'.$BaseDomain, 'tv.'.$BaseDomain), 113 114 'Host' => array(), 114 115 'Alias' => array(), … … 163 164 'BaseDir' => '/var/named/external/', 164 165 'MailServer' => array('centrala.'.$BaseDomain), 165 'NameServer' => array('gw-hajda.inext.cz', 'ns3.eu.editdns.net', 'ns1.twisted4life.com'), 166 'NameServer' => array('gw-hajda.inext.cz', 'ns1.vcsweb.com', 'ns1.twisted4life.com'), 167 'ReverseNameServer' => array('gw-hajda.inext.cz', 'inext.inext.cz'), 166 168 'Host' => array(), 167 169 'Alias' => array(), … … 199 201 'BaseDir' => '/var/named/czfree/', 200 202 'MailServer' => array('centrala.'.$BaseDomain), 201 'NameServer' => array('centrala.'.$BaseDomain, 'server.zlin.czf'), 203 'NameServer' => array('centrala.'.$BaseDomain, 'tv.'.$BaseDomain), 204 'ReverseNameServer' => array('centrala.'.$BaseDomain, 'tv.'.$BaseDomain), 202 205 'Host' => array(), 203 206 'Alias' => array(), … … 235 238 'BaseDir' => '/var/named/internal/', 236 239 'MailServer' => array('centrala.'.$BaseDomain), 237 'NameServer' => array('centrala.'.$BaseDomain, 'server.zlin.czf'), 240 'NameServer' => array('centrala.'.$BaseDomain, 'tv.'.$BaseDomain), 241 'ReverseNameServer' => array('centrala.'.$BaseDomain, 'tv.'.$BaseDomain), 238 242 'Host' => array(), 239 243 'Alias' => array(),
Note:
See TracChangeset
for help on using the changeset viewer.