diff --git a/check b/check index d363f44..4dc59dd 100755 --- a/check +++ b/check @@ -298,6 +298,9 @@ def do_checks(srcdir): errcnt += check_rdns(data) for domain in data.get('domains', []): errcnt += check_dupe("Domain", domain.upper(), domains, community) + if domain.endswith( '.' ): + errcnt += 1 + error("Domain ends with .: %s" % (domain)) try: domain.encode("ascii").decode("idna") except (UnicodeEncodeError, UnicodeError):