13 use IRCNOW::Acct::DNS qw(randip6);
16 # Load debug modules and set path for auto backups.
17 use IRCNOW::IO qw(:DEBUG);
18 $verbosity=ALL; # verbosity is exported via :DEBUG sets the debug level
19 $IRCNOW::IO::backupspath = 'zones/';
21 #my $acct=new IRCNOW::Acct();
22 #print $acct->newpass() . "\n";
24 my $dnsAcct=new IRCNOW::Acct::DNS();
26 #unveil() or die "Unable to lock unveil $!";
28 my $ipv6 = $dnsAcct->nextdns('resuwen');
29 print "Your new ipv6 address: $ipv6\n";
31 my $random_ipv6 = randip6();
32 print "$random_ipv6\n";
46 # Load debug modules and set path for auto backups.
47 use IRCNOW::IO qw(:DEBUG :FILEIO);
48 $verbosity=ALL; # verbosity is exported via :DEBUG sets the debug level
49 $IRCNOW::IO::backupspath = 'zones/';
51 # DNS commands related to IRCNOW accounts.
52 use IRCNOW::Acct::DNS;
54 my $ipv6 = $dnsAcct->nextdns('resuwen');
55 print "Your new ipv6 address: $ipv6\n";
59 This script provides example usage of the IRCNOW::Acct::DNS module.