I want to accept all db connections from servers with domain mydomain.com so that all subdomains like tiger.mydomain.com, venus.mydomain.com will have access to the postgresql server.
I've read that you have to create a reverse dns server so that it can lookup the domain and get the appropriate ip address. but it is not clear how to do this or a postgresql specific case.
Best Answer
From the manual:
In other words, use
or similar in
pg_hba.conf
, along with reverse DNS configured appropriately as above.