Changeset 698 for trunk


Ignore:
Timestamp:
11/24/15 09:36:16 (8 years ago)
Author:
Kris Deugau
Message:

/trunk

Allow - in the service part of a SRV record
(eg _collab-edge._tls.example.com)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r689 r698  
    990990    # Not strictly true, but SRV records not following this convention won't be found.
    991991    return ('FAIL',"SRV records must begin with _service._protocol [${$args{host}}]")
    992         unless ${$args{host}} =~ /^_[A-Za-z]+\._[A-Za-z]+\.[a-zA-Z0-9-]+/;
     992        unless ${$args{host}} =~ /^_[A-Za-z-]+\._[A-Za-z]+\.[a-zA-Z0-9-]+/;
    993993
    994994    # SRV target check - IP addresses not allowed.  Must be a more or less well-formed hostname.
Note: See TracChangeset for help on using the changeset viewer.