[150561] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

dns and software, was Re: Reliable Cloud host ?

daemon@ATHENA.MIT.EDU (david raistrick)
Mon Feb 27 15:45:49 2012

Date: Mon, 27 Feb 2012 15:42:07 -0500 (EST)
From: david raistrick <drais@icantclick.org>
To: William Herrin <bill@herrin.us>
In-Reply-To: <CAP-guGVq=OPwZP7Fdyzv0_Ety4_5zDvBqXwSY1sUMpJGXDiGug@mail.gmail.com>
Cc: Nanog <nanog@nanog.org>
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org

On Mon, 27 Feb 2012, William Herrin wrote:

> In some cases this is because of carelessness: The application does a
> gethostbyname once when it starts, grabs the first IP address in the
> list and retains it indefinitely. The gethostbyname function doesn't
> even pass the TTL to the application. Ntpd is/used to be one of the
> notable offenders, continuing to poll the dead address for years after
> the server moved.

While yes it often is carelessness - it's been reported by hardcore 
development sorts that I trust that there is no standardized API to obtain 
the TTL...  What needs to get fixed is get[hostbyname,addrinfo,etc] so 
programmers have better tools.



--
david raistrick        http://www.netmeister.org/news/learn2quote.html
drais@icantclick.org             http://www.expita.com/nomime.html


home help back first fref pref prev next nref lref last post