Changeset 526
- Timestamp:
- 06/13/13 15:32:58 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r524 r526 5312 5312 } elsif ($type == 65281) { # AAAA+PTR 5313 5313 5314 #$$recflags{$val}++;5314 $$recflags{$val}++; 5315 5315 # treat these as two separate records. since tinydns doesn't have 5316 5316 # a native combined type, we have to create them separately anyway. 5317 if ($revrec eq 'n') { 5318 $type = 28; 5319 } else { 5320 $type = 12; 5321 } 5322 _printrec_tiny($datafile,$revrec,$recflags,$zone,$host,$type,$val,$dist,$weight,$port,$ttl,$loc,$stamp); 5317 # print both; a dangling record is harmless, and impossible via web 5318 # UI anyway 5319 _printrec_tiny($datafile,$revrec,$recflags,$zone,$host,28,$val,$dist,$weight,$port,$ttl,$loc,$stamp); 5320 _printrec_tiny($datafile,$revrec,$recflags,$zone,$host,12,$val,$dist,$weight,$port,$ttl,$loc,$stamp); 5323 5321 ##fixme: add a config flag to indicate use of the patch from http://www.fefe.de/dns/ 5324 5322 # type 6 is for AAAA+PTR, type 3 is for AAAA
Note:
See TracChangeset
for help on using the changeset viewer.