Index: trunk/DNSDB.pm
===================================================================
--- trunk/DNSDB.pm	(revision 779)
+++ trunk/DNSDB.pm	(revision 780)
@@ -5676,5 +5676,5 @@
     my $soaq = $res->query($zone, "SOA");
     die "Error retrieving SOA for $zone: ".$res->errorstring."\n" if !$soaq;
-    my $ser = ($soaq->answer)[0]->{serial}
+    my $ser = ($soaq->answer)[0]->{serial};
     if ($args{rwsoa}) {
       if (!$args{keepserial}) {
@@ -6528,5 +6528,5 @@
     my ($email, $primary) = (split /:/, $host)[0,1];
     my ($refresh, $retry, $expire, $min_ttl) = (split /:/, $val)[0,1,2,3];
-    my $serial = 0;
+    my $serial = 0;  # fail less horribly than leaving it empty?
     if ($revrec eq 'y') {
 ##fixme:  have to publish SOA records for each v4 /24 in sub-/16, and each /16 in sub-/8
@@ -6552,5 +6552,5 @@
       ($serial) = $self->{dbh}->selectrow_array("SELECT zserial FROM domains WHERE domain=?", undef, $zone);
     } # revrec <> 'y'
-    $serial = '' if !$serial; # suppress a "uninitialized value" warning.  empty serial isn't an error, just falls back to tinydns' autoser$
+    $serial = '' if !$serial; # suppress a "uninitialized value" warning.  empty serial isn't an error, just falls back to tinydns' autoserial
     print $datafile "Z$zone:$primary:$email:$serial:$refresh:$retry:$expire:$min_ttl:$ttl:$stamp:$loc\n"
       or die $!;
Index: trunk/dnsdb.conf
===================================================================
--- trunk/dnsdb.conf	(revision 779)
+++ trunk/dnsdb.conf	(revision 780)
@@ -2,8 +2,8 @@
 
 ## Database connection info
-#dbname = dsndb
-#dbuser = dnsdb
-#dbpass = dnsdbpwd
-#dbhost = dnsdbhost
+dbname = dnsdb
+dbuser = dnsdb
+dbpass = dnsdbpwd
+dbhost = localhost
 
 ## Mail settings
@@ -17,5 +17,5 @@
 ## session - note this is fed directly to CGI::Session
 ## timeout supports (s)econds, (m)inutes, (h)ours, (d)ays, (w)eeks, (M)months, or (y)ears
-#timeout = 3h
+timeout = 48h
 #sessiondir = /var/lib/dnsdb
 
@@ -40,5 +40,5 @@
 
 # number of entries to display in lists
-#perpage = 25
+perpage = 50
 
 # fold domain names and hostnames to lowercase?
@@ -67,2 +67,4 @@
 #rpc_iplist = billing, 172.12.12.12
 #rpc_iplist = custportal, 192.168.1.12, 192.168.1.13
+# note, can't do ranges or subnet slices
+rpc_iplist = ipdb, 192.168.2.38
