Skip site navigation (1) Skip section navigation (2)

Re: TODO Item: Allow pg_hba.conf to specify host namesalong with IP addresses

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Andrew Sullivan <ajs(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: TODO Item: Allow pg_hba.conf to specify host namesalong with IP addresses
Date: 2008-06-13 20:14:13
Message-ID: 20080613201413.GD5070@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-hackers
Andrew Sullivan wrote:

> This is because DNS RRs have a TTL on them, so looking up the host at
> any moment other than when you're actually doing the authentication is
> prone to error.

Perhaps the solution to this problem is to do the lookups and store the
TTL of each answer.  At the time of actually checking you need only get
a new answer for those that expired.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

pgsql-hackers by date

Next:From: James William PyeDate: 2008-06-13 21:43:28
Subject: Re: Options for protocol level cursors
Previous:From: Simon RiggsDate: 2008-06-13 20:06:50
Subject: Re: Change lock requirements for adding a trigger

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group