diff --git a/CHANGELOG.md b/CHANGELOG.md index b07e98a..d7390f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ Changelog ========= +5.7.5 +----- + +- Fix BIMI lookup for subdomains that do not have a BIMI record (fixes #148) + 5.7.4 ----- diff --git a/checkdmarc/_constants.py b/checkdmarc/_constants.py index d0cf014..e1de336 100644 --- a/checkdmarc/_constants.py +++ b/checkdmarc/_constants.py @@ -18,7 +18,7 @@ See the License for the specific language governing permissions and limitations under the License.""" -__version__ = "5.7.4" +__version__ = "5.7.5" OS = platform.system() OS_RELEASE = platform.release() diff --git a/checkdmarc/bimi.py b/checkdmarc/bimi.py index 6b99e9c..2a8482c 100644 --- a/checkdmarc/bimi.py +++ b/checkdmarc/bimi.py @@ -454,7 +454,7 @@ def query_bimi_record( except dns.exception.DNSException: pass - if record is None and domain != base_domain and selector != "default": + if record is None and domain != base_domain: record = _query_bimi_record( base_domain, nameservers=nameservers, resolver=resolver, timeout=timeout )