syntax limits

Curtis Grote cgrote at memhosp.com
Thu May 29 15:29:40 EDT 2008


I am using the below /etc/mararc file which works. This morning I added:

ipv4_alias["labdelv"] = "192.168.50.1/24"  (after the "columbia" line)

and then changed:

recursive_acl  = "localhost, localnetwork, pacs, wireless, columbia, 
avaya1, avaya2"

to:

recursive_acl  = "localhost, localnetwork, pacs, wireless, columbia, 
labdelv,  avaya1, avaya2"

(Be aware that some of the above and below lines are wrapping).

I then restarted maradns and the log indicated no errors. But 
our "mailddmz" subnet at 192.168.253 would no longer be serviced for 
recursive requests. Is there a syntax limit that one line 
of "recursive_acl" cannot exceed a certain number of characters, or is 
there a limit such that the sum of all "recursive_acl" lines cannot 
exceed a certain size? Is there a basic flaw in my understanding as to 
how to configure different subnets and combine them 
into "recursive_acl" lines? Thanks for any help.

Curtis Grote
Memorial Hospital
---------------------------------------------------------------------
ipv4_bind_addresses = "10.2.52.1, 127.0.0.1"
chroot_dir = "/etc/maradns"
ipv4_alias = {}
ipv4_alias["localhost"] = "127.0.0.0/8"
ipv4_alias["localnetwork"] = "10.0.0.0/8"
ipv4_alias["pacs"] = "172.16.1.1/16"
ipv4_alias["wireless"] = "172.18.1.1/16"
ipv4_alias["columbia"] = "172.30.69.1/24"
ipv4_alias["avaya1"] = "192.168.151.1/24"
ipv4_alias["avaya2"] = "192.168.153.1/24"
ipv4_alias["highway50"] = "192.168.200.1/24"
ipv4_alias["remote"] = "192.168.68.1/24"       # Millatadt, Dupo, BHS, 
New Athens
ipv4_alias["dneuman"] = "192.168.69.34"        # Diane Neuman remote 
network
ipv4_alias["hcpsi"] = "192.168.70.1/24"
ipv4_alias["Xcelera"] = "172.17.16.1/24"
ipv4_alias["Apollo"] = "172.17.20.1/24"
ipv4_alias["voiceip"] = "172.19.1.1/16"
ipv4_alias["sftysec1"] = "172.23.2.1/24"
ipv4_alias["sftysec2"] = "172.23.3.1/24"
ipv4_alias["westadd1"] = "172.23.4.1/24"
ipv4_alias["westadd2"] = "172.23.5.1/24"
ipv4_alias["vpnclients"] = "172.25.1.1/16"
ipv4_alias["royalhtslab"] = "172.30.74.1/24"
ipv4_alias["ptlincoln"] = "172.30.80.1/24"
ipv4_alias["wellness"] = "172.30.100.1/24"
ipv4_alias["hwyt50pacs"] = "192.168.201.1/24"
ipv4_alias["medicity"] = "192.168.210.1/24"
ipv4_alias["maildmz"] = "192.168.253.1/24"
ipv4_alias["omnicell"] = "192.168.42.1/24"
ipv4_alias["ups"] = "192.168.44.1/24"
ipv4_alias["orwireless"] = "192.168.97.1/24"

recursive_acl  = "localhost, localnetwork, pacs, wireless, columbia, 
avaya1, avaya2"
recursive_acl += ",highway50, remote, dneuman, hcpsi, wellness"
recursive_acl += ",Xcelera, Apollo, voiceip, sftysec1, sftysec2, 
westadd1, westadd2"
recursive_acl += ",vpnclients, royalhtslab, ptlincoln, hwyt50pacs, 
medicity, maildmz, omnicell"
recursive_acl += ",ups, orwireless"

csv2 = {}
csv2["pmmc.com."] = "db.pmmc.com"
csv2["memhosp.com."] = "db.memhosp.com"
csv2["hcpsi.net."] = "db.hcpsi.net"


More information about the list mailing list