So I'm trying to accept connections on port 80 only from those IPs whose reverse DNS has a CNAME alias like, for example, *.test.mydomain.com:
1.1.1.1 resolves to boo.foo.com
and
*.test.mydomain.com CNAME boo.foo.com
then accept the connection.
Any tips?