- Timestamp:
- 06/03/14 17:52:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r637 r639 5148 5148 next if ($args{rwns} && ($host eq $zone)); 5149 5149 $val = $rr->nsdname; 5150 $warnmsg .= "Suspect record '".$rr->string."' may not be imported correctly: NS records may not be bare IP addresses\n" 5151 if $val =~ /^(?:(?:\d+\.){3}\d+|[a-fA-F0-9:]+)$/; 5150 5152 $nsflag = 1; 5151 5153 } elsif ($type eq 'CNAME') { 5152 5154 $val = $rr->cname; 5155 $warnmsg .= "Suspect record '".$rr->string."' may not be imported correctly: CNAME records may not be bare IP addresses\n" 5156 if $val =~ /^(?:(?:\d+\.){3}\d+|[a-fA-F0-9:]+)$/; 5153 5157 } elsif ($type eq 'SOA') { 5154 5158 next if $args{rwsoa}; … … 5181 5185 $weight = $rr->weight; 5182 5186 $port = $rr->port; 5187 $warnmsg .= "Suspect record '".$rr->string."' may not be imported correctly: SRV records may not be bare IP addresses\n" 5188 if $val =~ /^(?:(?:\d+\.){3}\d+|[a-fA-F0-9:]+)$/; 5183 5189 } elsif ($type eq 'KEY') { 5184 5190 # we don't actually know what to do with these...
Note:
See TracChangeset
for help on using the changeset viewer.