> Agreed, depending on how hosts and dns are set, it can be useless.> But normally, companies have host making standards to avoid that.
BTW you already have it :
select setting from pg_settings where name = 'listen_addresses'
No ?