Domain-Connect / dc-template-linter

Domain Connect template linter
https://www.domainconnect.org/
Apache License 2.0
2 stars 1 forks source link

Check for invalid (static) hostnames #13

Closed pawel-kow closed 2 days ago

pawel-kow commented 1 week ago

See this commit: https://github.com/Domain-Connect/Templates/pull/568/commits/d29e426a9f6c9c5bc6764f0d8327dd6b7e4d945f

There is a host "host": "secureserver_s2._domainkey", which is actually an invalid DNS label

kerolasa commented 1 week ago

I added a bit code to catch static names with underscores.

With that in place it is starting to feel like I should consider adding a test suite to ensure various checks do not break as the code accumulates. Perhaps I'll get to do that one day.