- Timestamp:
- 06/25/25 18:45:14 (6 days ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r892 r893 2159 2159 return 1; 2160 2160 } # _check_hostname_form() 2161 2162 # Reverse a lurking tinydns-centric octal substitution 2163 sub _deoctal { 2164 my $targ = shift; 2165 while ($$targ =~ /\\(\d{3})/) { 2166 my $sub = chr(oct($1)); 2167 $$targ =~ s/\\$1/$sub/g; 2168 } 2169 } # _deoctal() 2161 2170 2162 2171 -
trunk/DNSDB/ExportBIND.pm
r891 r893 579 579 # ($host,$val) = __revswap($host,$val) if $revrec eq 'y'; 580 580 # print {$zonefiles->{$loc}} "$host $ttl IN TXT \"$val\"\n" or die $!; 581 # Clean up some lingering tinydns/VegaDNSisms 582 DNSDB::_deoctal(\$val); 581 583 my $recdata = "$host. $ttl IN TXT \"$val\"\n"; 582 584 __recprint($zonefiles, $loclist, $loc, $recdata);
Note:
See TracChangeset
for help on using the changeset viewer.