🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #2622

Re: INN and changing host IP address...

#2622
From: Richard P. Bainter
Date: Tue, 24 May 1994 20:46
27 lines
2326 bytes
In article <2rtgp6$bm6@rodan.uu.net>, Rich Salz <rsalz@uunet.uu.net> wrote:
>In <2rssrc$9qd@ns1.arlut.utexas.edu> pug@arlut.utexas.edu (Richard P. Bainter) writes:
>>   Why doesn't [INN] use DNS so that the IP can change?
>Because innd does not want to wait for gethostbyaddr() lookups (and the
>reverse check to make sure inaddr.arpa hasn't been spoofed) on every connect.

This seems strange, but I guess it's understandable. I understand that
you don't want it to be spoofed, but I wouldn't think it was that much
of a waste, but it probably depends on the number of connections that
would be active at any one time.

>The proper solution is have innd understand DNS TTL values and reload its
>cache as needed.  This probably will not make it into 1.5 unless I get
>a nice diff from someone.

This seems resonable, but I have been unable to find a simple call to
get a TTL value for a machine name. There doesn't seem to be a T_TTL
value in the arpa/nameser.h file, so it might be more difficult than I
originally thought. What is the best way to get a TTL value for a host?

Ciao,
-- 
Richard Bainter          Mundanely     |    System Analyst        - OMG/CSD
Pug                      Generally     |    Applied Research Labs - U.Texas
          pug@arlut.utexas.edu         |    pug@bga.com
Note: The views may not reflect my employers, or even my own for that matter.
Technical Details
Message-ID: <2rtp35$lau@ns1.arlut.utexas.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.protocols.tcp-ip.domains.mbox.zip!bga.com!news.sprintlink.net!hookup!nntp.cs.ubc.ca!newsxfer.itd.umich.edu!europa.eng.gtefsd.com!howland.reston.ans.net!cs.utexas.edu!chpc.utexas.edu!arlut.utexas.edu!arlut.utexas.edu!not-for-mail
References: <2rssrc$9qd@ns1.arlut.utexas.edu> <2rtgp6$bm6@rodan.uu.net>

Show Full Headers
Complete Article Headers
Message-ID: <2rtp35$lau@ns1.arlut.utexas.edu>
Subject: Re: INN and changing host IP address...
Date: Tue, 24 May 1994 20:46:29 +0000
From: pug@arlut.utexas.edu (Richard P. Bainter)
References: <2rssrc$9qd@ns1.arlut.utexas.edu> <2rtgp6$bm6@rodan.uu.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.protocols.tcp-ip.domains.mbox.zip!bga.com!news.sprintlink.net!hookup!nntp.cs.ubc.ca!newsxfer.itd.umich.edu!europa.eng.gtefsd.com!howland.reston.ans.net!cs.utexas.edu!chpc.utexas.edu!arlut.utexas.edu!arlut.utexas.edu!not-for-mail
Newsgroups: news.software.nntp,comp.protocols.tcp-ip.domains
Organization: Applied Research Labs : The University of Texas at Austin
Lines: 26
Distribution: inet
NNTP-Posting-Host: ns1.arlut.utexas.edu