Skip to content

Commit

Permalink
5.7.5
Browse files Browse the repository at this point in the history
Fix BIMI lookup for subdomains that do not have a BIMI record (fixes #148)
  • Loading branch information
seanthegeek committed Oct 31, 2024
1 parent 8336f7d commit a85c1f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
-----

Expand Down
2 changes: 1 addition & 1 deletion checkdmarc/_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion checkdmarc/bimi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit a85c1f2

Please sign in to comment.