ispman/lib dns.bind8.lib,1.26,1.27

Joerg Delker <[email protected]> Sun, 03 Jun 2007 19:26:19 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/lib
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv19284/lib

Modified Files:
	dns.bind8.lib 
Log Message:
implemented feature request [ 1483788 ] ipv6 support
NOTE: ldap schema updated necessary!!!

Index: dns.bind8.lib
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/dns.bind8.lib,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- dns.bind8.lib	18 Feb 2007 17:57:44 -0000	1.26
+++ dns.bind8.lib	3 Jun 2007 19:26:17 -0000	1.27
@@ -246,6 +246,20 @@
               "\n";
         }
 
+        # print AAAA RECORDS
+        print ZONE "\n; AAAA RECORDS\n";
+        my $arecords = $ispman->getDNSaAAARecords($domain);
+        for (@$arecords) {
+            print ZONE join(
+                "\t",
+                (
+                    $_->{'host'}, ( $_->{'ttl'} ) ? $_->{'ttl'} : "\t",
+                    "IN", "AAAA", $_->{'ip'}
+                )
+              ),
+              "\n";
+        }
+
         # print CNAMES
         print ZONE "\n; RR RECORDS\n";
         my $cnames = $ispman->getDNScNAMERecords($domain);


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/