Changeset 677
- Timestamp:
- 01/16/15 18:24:45 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r674 r677 742 742 } 743 743 # Validate PTR target for form. 744 return ('FAIL', $errstr) if ! _check_hostname_form(${$args{host}}, ${$args{rectype}}, $args{defrec}, $args{revrec}); 744 # %blank% skips the IP when expanding a template record 745 return ('FAIL', $errstr) 746 unless _check_hostname_form(${$args{host}}, ${$args{rectype}}, $args{defrec}, $args{revrec}) || 747 lc(${$args{host}}) eq '%blank%'; 745 748 } else { # revrec ne 'y' 746 749 # Fetch the domain and append if the passed hostname isn't within it.
Note:
See TracChangeset
for help on using the changeset viewer.