Changeset 437 for branches/stable/DNSDB.pm
- Timestamp:
- 10/30/12 12:23:30 (12 years ago)
- Location:
- branches/stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable
-
branches/stable/DNSDB.pm
r434 r437 1744 1744 my $domain = shift; 1745 1745 my $group = shift; 1746 my $status = shift || 1; 1746 my $status = shift; 1747 $status = (defined($status) ? $status : 0); # force sane semantics, and allow passing "null" (inactive) status 1747 1748 my $rwsoa = shift || 0; 1748 1749 my $rwns = shift || 0; 1750 my $newttl = shift; 1749 1751 1750 1752 ##fixme: add mode to delete&replace, merge+overwrite, merge new? … … 1801 1803 while (my $rr = $res->axfr_next()) { 1802 1804 my $type = $rr->type; 1805 my $ttl = ($newttl ? $newttl : $rr->ttl); # allow force-override TTLs 1803 1806 1804 1807 my $sql = "INSERT INTO records (domain_id,host,type,ttl,val";
Note:
See TracChangeset
for help on using the changeset viewer.