"Fossies" - the Fresh Open Source Software Archive

Member "webbind_0.98/global.php.template" (5 Jan 2002, 2056 Bytes) of package /linux/misc/dns/old/WeBBind_0.98.tar:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?
    2 
    3 //Filesystem structure for dns servers managed with WeBBind
    4 /*
    5 
    6   domain/
    7 	/bin
    8 	/etc
    9 	/var
   10 	    /pid
   11 	/zones
   12 */	
   13 
   14 
   15 /*
   16 	WeBBind SERVER DOCUMENT ROOT URL
   17 */
   18 $phpbindurl=("http://www.admindns.net/webbind");
   19 
   20 
   21 /*
   22 	Base Directory on WeBBind server where we create mount point (mkdir=FQDN)
   23 	and mount filesystem exported from managed named servers .
   24 */
   25 $basemount="/home/webbind/dnsmounts";
   26 
   27 
   28 /*
   29 	Remote execution client binary and switches (rsh or ssh)
   30 */
   31 // $remexec="/usr/local/bin/ssh -l webbind -2";
   32 $remexec="/usr/bin/rsh -l webbind";
   33 
   34 
   35 /*
   36 	Zone File Locking TimeOut
   37 	Maximum time in seconds for editing session on a zone.
   38 	Client exceeding will be redirect to Main Page.
   39 	New session will be accepted only after expire of this value.
   40 */
   41 $zflto=300;
   42 
   43 
   44 /*
   45 	Interface Level Usage
   46 	Define administration privilege or view only.
   47 	0 = full | 1 = readonly
   48 */
   49 $readonly=0 ;
   50 
   51 
   52 /*
   53 	Name Server used for nslookup query
   54 */
   55 $nsqueryserver="dns.internic.com" ;
   56 
   57 
   58 
   59 /*
   60 	Default SOA values for new zones
   61 */
   62 $serial=date("Ymd01");
   63 $refresh="86400";
   64 $retry="7200";
   65 $expire="2592000";
   66 $ttl="86400";
   67 
   68 
   69 /*
   70 	Allowed AXFR transfer IP class for new zones
   71 */
   72 $transallowed[0]="127.0.0.1";
   73 $transallowed[1]="xxx.xxx.xxx.xxx/24";
   74 $transallowed[2]="xxx.xxx.xxx.xxx";
   75 //$transallowed[nn]="xxx.xxx.xxx/nn";
   76 
   77 
   78 /*
   79 	For each named servers to be managed must specify
   80 	FQDN, Pubblic IP, Private IP, ndc binary location, named log file location
   81 */
   82 $servername[1]="dns1.domain";
   83 $ipfe[1]="xxx.xxx.xxx.xxx";		//PUBBLIC IP // USED FOR AXFR
   84 $ipbe[1]="xxx.xxx.xxx.xxx";		//PRIVATE IP // USED FOR (S)RSH & NDC
   85 $subin[1]="/domain/bin";		//WHERE SUed "ndc" lives (owner root & 4555)
   86 $msgs[1]="/domain/var/named.log";	//where is named log messages
   87 
   88 //$servername[2]="dns2.domain";
   89 //$ipfe[2]="xxx.xxx.xxx.xxx";
   90 //$ipbe[2]="xxx.xxx.xxx.xxx";
   91 //$subin[2]="/home/named/domain/bin";
   92 //$msgs[2]="/home/named/domain/var/named.log";
   93 
   94 //
   95 //$servername[N]="dnsN.domain";
   96 //$ipfe[N]="xxx.xxx.xxx.xxx";
   97 //$ipbe[N]="xxx.xxx.xxx.xxx";
   98 //$subin[N]="/export/home/named/bin";
   99 //$msgs[N]="/var/adm/messages";
  100 
  101 ?>