How to specify host name in pg_hba.conf file of postgresql?

笑着哭i 提交于 2019-12-07 12:01:08

问题


We want to create a line like this : host all all vs1.nsdp.ir md5 in pg_hba.conf file. But it doesn't understand this host name. It's Ip is 192.168.1.60 and when we use ip address that's fine. But it won't work with host name.


回答1:


We created a reverse dns lookup in our dns server so it can be able to reverse lookup the ip of our domain and the problem is solved



来源:https://stackoverflow.com/questions/22374768/how-to-specify-host-name-in-pg-hba-conf-file-of-postgresql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!