🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #91822

Re: innfeed.conf set dns-expire

#91822
From: Billy G. (go-while)
Date: Wed, 29 May 2024 09:04
55 lines
2744 bytes
On 28.05.24 20:21, Roberto CORRADO wrote:
> is advisable to set dns-expire a 3600 sec instead 1Day (86400)
> for dynamic IP connection?
> I wouldn't want to be one day out of usenet :-)
> thank you all for the support
> 

dns-expire is a global value, not per peer value and setting it on your 
side (if you have dynamic ip) would not change anything.

inn uses the underlying dns servers to resolv names, so it should honor 
the dns records expiry value?

your dns is set to 600 which should be fine...
if inn honors the dnsexpiry and does not overwrite it with 'dns-expire'?

dig a news.corradoroberto.it

;; ANSWER SECTION:
news.corradoroberto.it. 600     IN      CNAME   corradoroberto.it.
corradoroberto.it.      240     IN      A       130.25.86.223


https://www.eyrie.org/~eagle/software/inn/docs-2.7/innfeed.conf.html

GLOBAL VALUES
The following listing show all the keys that apply to the process as whole.

...

dns-retry
This key requires a positive integer value and defaults to 900. It 
defines the number of seconds between attempts to re-lookup host 
information that previously failed to be resolved.

dns-expire
This key requires a positive integer value and defaults to 86400. It 
defines the number of seconds between refreshes of name to address DNS 
translation. This is so long-running processes do not get stuck with 
stale data, should peer IP addresses change.



^^ i'm not sure how to understand the last sentence:
" This is so long-running processes do not get stuck with stale data, 
should peer IP addresses change. "

if peer address changed but internal cache? still has it, it is useless 
and somehow stale too?



-- 
.......
Billy G. (go-while)
Technical Details
Message-ID: <6656e161$0$31818$882e4bbb@reader.netnews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <v357ap$4al$1@gatto.corradoroberto.it>

Show Full Headers
Complete Article Headers
Message-ID: <6656e161$0$31818$882e4bbb@reader.netnews.com>
Subject: Re: innfeed.conf set dns-expire
Date: Wed, 29 May 2024 11:04:06 +0200
From: "Billy G. (go-while)" <no-reply@no.spam>
References: <v357ap$4al$1@gatto.corradoroberto.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
X-Trace: DXC=<h<d=m7PXoK]2f>5GVFLaGHWonT5<]0TM5?[GCKc98XCA_kl7KOVc\GWo5li^7P;]EHD4H8kURITB[=lRPQo^nQMZk<Nj;]6=IC_nl1X68Fd5C
X-Trace: 1716969825 reader.netnews.com 31818 127.0.0.1:43911
X-Complaints-To: support@blocknews.net
Mime-Version: 1.0
User-Agent: Mozilla Thunderbird
Newsgroups: news.software.nntp
Content-Language: en-US
Organization: github.com/go-while
In-Reply-To: <v357ap$4al$1@gatto.corradoroberto.it>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 56
Nntp-Posting-Host: 127.0.0.1