Changeset 631


Ignore:
Timestamp:
05/14/14 15:40:33 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Get an ##enhance comment in about validating SRV records: Consider a
config flag to allow "nonstandard" SRV records that don't match
_service._proto.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r630 r631  
    960960    ${$args{host}} =~ s/\.*$/\.$pname/ if ${$args{host}} !~ /$pname$/;
    961961
     962##enhance:  Rejig so that we can pass back a WARN red flag, instead of
     963# hard-failing, since it seems that purely from the DNS record perspective,
     964# SRV records without underscores are syntactically valid
    962965    # Not strictly true, but SRV records not following this convention won't be found.
    963966    return ('FAIL',"SRV records must begin with _service._protocol [${$args{host}}]")
     
    972975    # zone are pretty silly.
    973976
     977##enhance:  Rejig so that we can pass back a WARN red flag, instead of
     978# hard-failing, since it seems that purely from the DNS record perspective,
     979# SRV records without underscores are syntactically valid
    974980    # Not strictly true, but SRV records not following this convention won't be found.
    975981    return ('FAIL',"SRV records must begin with _service._protocol [${$args{host}}]")
Note: See TracChangeset for help on using the changeset viewer.