Changeset 844 for trunk


Ignore:
Timestamp:
08/23/22 14:02:40 (2 years ago)
Author:
Kris Deugau
Message:

/trunk

Close off one piece of some bad export processing; properly suppress
%blank% where it has inexplicably ended up attached to PTR and A+PTR
records.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r842 r844  
    69856985  elsif ($typemap{$type} eq 'PTR') {
    69866986    $$recflags{$val}++;
     6987
     6988    # technically a PTR template thing, but Bad Data Happens
     6989    next if $val =~ /\%blank\%/;
     6990
    69876991    if ($revrec eq 'y') {
    69886992
     
    70167020  elsif ($type == 65280) { # A+PTR
    70177021    $$recflags{$val}++;
     7022
     7023    # technically a PTR template thing, but Bad Data Happens
     7024    next if $val =~ /\%blank\%/;
     7025
    70187026    print $datafile "=$host:$val:$ttl:$stamp:$loc\n" or die $!;
    70197027  } # A+PTR
Note: See TracChangeset for help on using the changeset viewer.