--- inc/config-block.inc.php.dist Fri Feb 28 10:08:24 2003 +++ inc/config-block.inc.php Fri Feb 28 10:11:13 2003 @@ -29,13 +29,12 @@ // $BASE_URL // This will be the main URI you will use to connect to PowerAdmin. -// For instance: "http://poweradmin.sjeemz.nl" -$BASE_URL = "http://wwww.poweradmin.org"; +$BASE_URL = "http://localhost/"; // $BASE_PATH // If PowerAdmin is in a subdir. Specify this here -// For instance: "/admin/" -$BASE_PATH = "/PowerAdmin/"; +// f.e. /admin/ +$BASE_PATH = "/"; /* DNS Record information */ @@ -43,18 +42,17 @@ // $HOSTMASTER // The email address of the hostmaster you want to be mailed. -// For instance: "hostmaster@sjeemz.nl" -$HOSTMASTER = "hostmaster@trancer.nl"; +$HOSTMASTER = "hostmaster@example.com"; // $NS1 // Your first nameserver // Should be a domainname! Not an IP. -$NS1 = "ns1.trancer.nl"; +$NS1 = "ns1.example.com"; // $NS2 // Your second nameserver. // If you dont have a second nameserver, fill in the same value as $NS1 -$NS2 = "ns2.trancer.nl"; +$NS2 = "ns2.example.com"; /* You dont have to edit these fields. Change them if you want. */ @@ -87,7 +85,7 @@ $NAME_LEVEL_10 = "Administrator w/ user admin rights"; // Enable fancy records or not (http://doc.powerdns.com/fancy-records.html)? true/false -$FANCY_RECORDS = true; +$FANCY_RECORDS = false; // Master or slave functionality. Set this to either true or false. // This field indicates if you are running in a MASTER/SLAVE setup or in a NATIVE setup. @@ -107,13 +105,13 @@ /* -------------------------------------------------------------------- */ // $rtypes - array of possible record types -$rtypes = array('A', 'AAAA', 'CNAME', 'HINFO', 'MX', 'NAPTR', 'NS', 'PTR', 'SOA', 'TXT'); +$rtypes = array('A', 'AAAA', 'CNAME', 'HINFO', 'MX', 'NAPTR', 'NS', 'PTR', 'SOA', 'TXT', 'LOC' ); // If fancy records is enabled, extend this field. if($FANCY_RECORDS) { - $rtypes[10] = 'URL'; - $rtypes[11] = 'MBOXFW'; + $rtypes[11] = 'URL'; + $rtypes[12] = 'MBOXFW'; } // $template - array of records that will be applied when adding a new zone file @@ -158,13 +156,6 @@ "name" => "mail.##DOMAIN##", "type" => "A", "content" => "##MAILIP##", - "ttl" => "$DEFAULT_TTL", - "prio" => "" - ), - array( - "name" => "localhost.##DOMAIN##", - "type" => "A", - "content" => "127.0.0.1", "ttl" => "$DEFAULT_TTL", "prio" => "" ),