mirror of
				https://github.com/bklang/ldap2dns.git
				synced 2025-10-30 23:53:12 -04:00 
			
		
		
		
	+ Fixed bug with duplicate OIDs in dns.schema from partially applied patch + Renamed schema file to ldap2dns.schema + Updated RPM specfile (UNTESTED, may need editing) + Removed already merged patchfiles + Restructured file layout, created doc directory + Deprecated unfinished webadmin work. Will be replaced with Beatnik + Deprecated OpenLDAP 2.0 schema support + Deprecated djbdns-1.0.5 native LDAP patch (status of patch unknown) + Removed old index.html + Removed TODO.schema + Updated Makefile git-svn-id: https://svn.alkaloid.net/gpl/ldap2dns/trunk@124 06cd67b6-e706-0410-b29e-9de616bca6e9
		
			
				
	
	
		
			45 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?
 | |
| 
 | |
| #################### basic configuration ####################
 | |
| $LDAPHOST = "ldap.company.com";
 | |
| $BASEDN = "ou=dns,o=company";
 | |
| $BINDBASE = "ou=people,o=company";
 | |
| $BINDUID = "uid";
 | |
| $ANONBINDDN = "ou=dns,o=company";
 | |
| $ZONEEDIT = "/dns/index.php";
 | |
| $LOGFILE = "/var/log/zoneedit_log";
 | |
| 
 | |
| 
 | |
| #################### default values ####################
 | |
| $DEFAULT_TTL = "3600";
 | |
| $DEFAULT_PREFERENCE = "10";
 | |
| $DNSADMIN_MAILTO = "hostmaster\@company.com";
 | |
| $NAMESERVERS = array("ns1.company.com", "ns2.company.com");
 | |
| $ZONE_INFO = array("dnszonename", "dnsserial", "dnsclass", "dnstype", "dnsexpire", "dnsretry", "dnsminimum",
 | |
| 	"dnszonemaster", "dnsrefresh", "dnsadminmailbox", "dnsttl" );
 | |
| $ZONE_SOA = array(
 | |
| 	"dnszonename" => "",
 | |
| 	"dnsserial" => "",
 | |
| 	"dnsclass" => "IN",
 | |
| 	"dnstype" => "SOA",
 | |
| 	"dnsexpire" => "604800",
 | |
| 	"dnsretry" => "3600",
 | |
| 	"dnsminimum" => "86400",
 | |
| 	"dnsrefresh" => "10800",
 | |
| 	"dnsttl" => "3600",
 | |
| 	"dnszonemaster" => "ns1.company.com.",
 | |
| 	"dnsadminmailbox" => "hostmaster.company.com.",
 | |
| );
 | |
| $ZONE_ENTRY = array(
 | |
| 	array("cn"=>"NS1:", "objectclass"=>"dnsrrset", "dnstype"=>"NS", "dnsclass"=>"IN", "dnsttl"=>"3600", "dnscname"=>"ns1.company.com."),
 | |
| 	array("cn"=>"NS2:", "objectclass"=>"dnsrrset", "dnstype"=>"NS", "dnsclass"=>"IN", "dnsttl"=>"3600", "dnscname"=>"ns2.company.com."),
 | |
| );
 | |
| 
 | |
| #################### whois configuration ####################
 | |
| $WHOISSERVERS = array( "at"=>"whois.nic.at", "de"=>"whois.denic.de", "ch"=>"whois.nic.ch",
 | |
|     "com"=>"whois.networksolutions.com", "net"=>"whois.networksolutions.com",
 | |
|     "org"=>"whois.networksolutions.com", "be"=>"whois.dns.be", "cz"=>"whois.nic.cz",
 | |
|     "fr"=>"whois.nic.fr", "hu"=>"whois.nic.hu", "it"=>"whois.nic.it", "dk"=>"whois.dk-hostmaster.dk",
 | |
|     "li"=>"whois.nic.li", "lu"=>"whois.dns.lu", "cc"=>"whois.nic.cc", "uk"=>"whois.nic.uk" );
 | |
| ?>
 |