Ignore:
Timestamp:
Dec 23, 2013, 4:23:03 PM (11 years ago)
Author:
chronos
Message:
  • Opraveno: Funkčnost skriptu linux DNS s třídou System.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfigLinux/Generators/DNS.php

    r584 r618  
    22
    33if(isset($_SERVER['REMOTE_ADDR'])) die();
    4 include_once(dirname(__FILE__).'/../../../Common/Global.php');
     4include_once(dirname(__FILE__).'/../../../Application/System.php');
     5$System = new System();
     6$System->ShowPage = false;
     7$System->Run();
    58
    69$BaseDomain = 'zdechov.net';
     
    113116  'BaseDir' => '/var/named/internal/',
    114117  'MailServer' => array('centrala.'.$BaseDomain),
    115   'NameServer' => array('centrala.'.$BaseDomain, 'tv.'.$BaseDomain),
    116   'ReverseNameServer' => array('centrala.'.$BaseDomain, 'tv.'.$BaseDomain),
    117   'Host' => array(),
    118   'Alias' => array(),
    119   'Network' => array('10.145.64', '10.145.65', '10.145.66', '10.145.67',
    120     '10.145.68', '10.145.69', '10.145.70', '10.145.71', '77.92.221', '172.16.0',
    121     '172.16.1'),
     118  'NameServer' => array('centrala.'.$BaseDomain, 'mozek.'.$BaseDomain),
     119  'ReverseNameServer' => array('centrala.'.$BaseDomain, 'mozek.'.$BaseDomain),
     120  'Host' => array(),
     121  'Alias' => array(),
     122  'Network' => array('10.145.64', '10.145.65', '10.145.66', '10.145.67', '10.145.68', '10.145.69', '10.145.70', '10.145.71', '77.92.221', '172.16.0', '172.16.1'),
    122123);
    123124
     
    212213  'BaseDir' => '/var/named/czfree/',
    213214  'MailServer' => array('centrala.'.$BaseDomain),
    214   'NameServer' => array('centrala.'.$BaseDomain, 'tv.'.$BaseDomain),
    215   'ReverseNameServer' => array('centrala.'.$BaseDomain, 'tv.'.$BaseDomain),
     215  'NameServer' => array('centrala.'.$BaseDomain, 'mozek'.$BaseDomain),
     216  'ReverseNameServer' => array('centrala.'.$BaseDomain, 'mozek.'.$BaseDomain),
    216217  'Host' => array(),
    217218  'Alias' => array(),
     
    250251  'BaseDir' => '/var/named/internal/',
    251252  'MailServer' => array('centrala.'.$BaseDomain),
    252   'NameServer' => array('centrala.'.$BaseDomain, 'tv.'.$BaseDomain),
    253   'ReverseNameServer' => array('centrala.'.$BaseDomain, 'tv.'.$BaseDomain),
     253  'NameServer' => array('centrala.'.$BaseDomain, 'mozek.'.$BaseDomain),
     254  'ReverseNameServer' => array('centrala.'.$BaseDomain, 'mozek.'.$BaseDomain),
    254255  'Host' => array(),
    255256  'Alias' => array(),
Note: See TracChangeset for help on using the changeset viewer.