Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ifPJN-00017Y-03 for pgsql-general@arkaria.postgresql.org; Thu, 12 Dec 2019 14:19:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ifPJL-00061F-LD for pgsql-general@arkaria.postgresql.org; Thu, 12 Dec 2019 14:19:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ifPJK-000618-G4 for pgsql-general@lists.postgresql.org; Thu, 12 Dec 2019 14:19:23 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ifPJG-0006li-PE for pgsql-general@lists.postgresql.org; Thu, 12 Dec 2019 14:19:21 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 8539E22787; Thu, 12 Dec 2019 09:19:17 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Thu, 12 Dec 2019 09:19:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=Kt7FQzR0md9OeuUdoayrhLMv91OcOGr2MPUTvjYlT gA=; b=G6auFyBgymrh0cLmkn5+vpxADRRwQzssocn13zYxW67UyGpyV1ZGXS3p+ 1obdM1GurwtSonVAyzHZpNXe2/uzf8E2JUnn03uQ7EryvNbGCugtgsCV06Y0vqLJ istOzJwkcvLdIaBJtC3cGeFGd14yeXdqPOP8aySUIOYGU8FmqhUcxjThGwtuqAEb bklzNyUZELs1CS4WRhyrljoaHjZSoA9szQ3suqpBWacIoxQTYZE4DpsI1NCVM9gb vZhIhbSLFygXbVnPc5WLhHIMddg9Bt8/foGbcIUK0khzAeo7PYtFJ/W3YXrGr0Aw g6Ztpq6HUwPOA08BYm4gywQwT6dQw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudeljedgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhohfkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvdhnug hquhgrughrrghnthdrtghomheqnecuffhomhgrihhnpedvnhguqhhurggurhgrnhhtrdgt ohhmpdgvgigrmhhplhgvrdgtohhmnecukfhppeelfedrvdegfedrfeegrdelleenucfrrg hrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgruhhtsedvnhguqhhu rggurhgrnhhtrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from april.pezone.net (p5df32263.dip0.t-ipconnect.de [93.243.34.99]) by mail.messagingengine.com (Postfix) with ESMTPA id 6381780064; Thu, 12 Dec 2019 09:19:16 -0500 (EST) Subject: Re: Logical replication DNS cache To: Mike Lissner , pgsql-general@lists.postgresql.org References: From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <5499f323-8eaa-759a-55c5-9f5ba3829f9a@2ndquadrant.com> Date: Thu, 12 Dec 2019 15:19:14 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-12-12 01:37, Mike Lissner wrote: > I've got a server at example.com that currently > publishes logical replication to a server in AWS RDS. I plan to move the > server at example.com so that it has a new IP > address (but same domain name). > > I'm curious if anybody knows how the logical replication subscriber in > AWS would handle that. > > There's at least three layers where the DNS might be cached, creating > breakage once the move is complete: > >  - Postgres itself > >  - AWS's postgresql fork in RDS might have something > >  - The OS underlying amazon's RDS service Postgres itself doesn't cache any host name resolution results. I don't know about the other two pieces. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services