Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 0850383575abf566d85c5e1bbd0b60d7 > files > 3

maradns-1.4.12-1.mga1.src.rpm

--- maradns-1.3.07.09/doc/en/examples/example_recursive_mararc.txt	2005-11-21 15:30:18.000000000 -0800
+++ maradns-1.3.07.09/doc/en/examples/example_recursive_mararc.txt.new	2008-09-05 16:53:23.000000000 -0700
@@ -11,7 +11,7 @@
 # The address this DNS server runs on.  If you want to bind 
 # to multiple addresses, separate them with a comma like this:
 # "10.1.2.3, 10.1.2.4, 127.0.0.1"
-ipv4_bind_addresses = "127.0.0.1"
+ipv4_bind_addresses = "0.0.0.0"
 # The directory with all of the zone files
 chroot_dir = "/etc/maradns"
 
--- maradns-1.3.07.09/doc/en/examples/example_full_mararc	2007-11-26 09:20:33.000000000 -0800
+++ maradns-1.3.07.09/doc/en/examples/example_full_mararc.new	2008-09-05 16:53:00.000000000 -0700
@@ -12,7 +12,7 @@
 # The address this DNS server runs on.  If you want to bind 
 # to multiple addresses, separate them with a comma like this:
 # "10.1.2.3,10.1.2.4,127.0.0.1"
-ipv4_bind_addresses = "127.0.0.1"
+ipv4_bind_addresses = "0.0.0.0"
 # The directory with all of the zone files
 chroot_dir = "/etc/maradns"
 # The numeric UID MaraDNS will run as
@@ -130,8 +130,8 @@
 # Recursive ACL: Who is allowed to perform recursive queries.  The format
 # is identical to that of "zone_transfer_acl", including ipv4_alias support
 
-#ipv4_alias["localhost"] = "127.0.0.0/8"
-#recursive_acl = "localhost"
+ipv4_alias["localhost"] = "127.0.0.0/8"
+recursive_acl = "localhost"
 
 # Random seed file: The file from which we read 16 bytes from to get the
 # 128-bit random Rijndael key.  This is ideally a file which is a good source
@@ -140,14 +140,14 @@
 # random and with 600 perms, owned by root, since we read the file *before*
 # dropping root privileges)
 
-#random_seed_file = "/dev/urandom"
+random_seed_file = "/dev/urandom"
 
 # The maximum number of elements we can have in the cache.  If we have more 
 # elements in the cache than this amount, the "custodian" kicks in to effect,
 # removing elements not recently accessed from the cache (8 elements removed 
 # per query) until we are at the 99% level or so again.
 
-#maximum_cache_elements = 1024
+maximum_cache_elements = 1024
 
 # It is possible to change the minimal "time to live" for entries in the
 # cache; this is the minimum time that an entry will stay in the cache.
@@ -162,12 +162,12 @@
 
 # The following line must be uncommented to enable custom root servers 
 # for recursive queries
-#root_servers = {}
+root_servers = {}
 
 # You can choose which set of root servers to use.  Current values (set above)
 # are: icann, osrc, alternic, opennic,  pacificroot, irsc, tinc, and 
 # superroot.  
-#root_servers["."] = "icann"
+root_servers["."] = "icann"
 
 # If you prefer to contact other recursive DNS servers instead of the ICANN
 # root servers, this is done with the upstream_servers mararc variable:
--- maradns-1.3.07.09/doc/en/examples/example_authoritative_mararc.txt	2005-11-21 15:30:18.000000000 -0800
+++ maradns-1.3.07.09/doc/en/examples/example_authoritative_mararc.txt.new	2008-09-05 16:51:32.000000000 -0700
@@ -7,7 +7,7 @@
 # The address this DNS server runs on.  If you want to bind 
 # to multiple addresses, separate them with a comma like this:
 # "10.1.2.3,10.1.2.4,127.0.0.1"
-ipv4_bind_addresses = "127.0.0.1"
+ipv4_bind_addresses = "0.0.0.0"
 # The directory with all of the zone files
 chroot_dir = "/etc/maradns"