🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.ip.developers
Article #843

Re: DNS caching; is it *truly* possible to flush locally?

#843
From: Brian {Hamilton Kelly}
Date: Mon, 29 Jul 1996 00:00
60 lines
3363 bytes
In article <31fc8a5b.7116726@news.demon.co.uk>
           robm@demon.net "Robert Mortimer" writes:

> Previously Brian {Hamilton Kelly} <bhk@dsl.co.uk> said:
> >[Supplemental info: that's why I'm following up my own posting.]
> >[Bobbitt...]
> >(Similar code appears in other routines too).  On this basis, if
> >decrementing the TTL makes it -ve, it gets replaced by zero.  So why are
> >there negative values in the cache and the DOMAIN.TXT file?
> >Well, let's look at the definition of int32 (from GLOBAL.H):
> >    typedef unsigned long int32;    /* 32-bit signed integer */
> >Note that *carefully*: the comment says that it's a signed integer (which
> >it needs to be for the code fragment above to work).  But the actual C
> 
> What version of KA9Q did you get that code fragment from??

From the OS/2 version of the sources.  In file ka9q260s.zip, where the
file 00readme.os2 identifies it as:
FILE:     00readme.os2                                             
DATE:     10 December 1995
VERSION:  KA9Q/2 2.17d (OS/2 version 2.60)

The global.h in question is this one:
   6382  Deflate   2127  67%  05-11-94  23:36  23c6e289   source/global.h

so the problem has been around for quite some time.  Since posting, I've
spoken on the phone with Niel, who's going to look into it.  I do know
that KA9Q/2 is based upon a later source of KA9Q than the one used by
Demon for the DOS version; I believe Niel was waiting for Malcolm to
release his promised revision to have the opportunity to ensure that both
versions got back into step -- Niel having previously done *much* more
than GT in ANSIfying the sources.
   
> Looking at global.h for demon from the ftp server:
> 
> typedef long int32;             /* 32-bit signed integer */

Which probably accounts for few people experiencing my problems when I
posted in d.i.s.pc (and there was I thinking that the OS/2 version was
quite close to the DOS one:-)

> This is hte same for Phil Karns new version of KA9Q and
> for JNOS1.10x. As the comments above this line said
> it assumes your longs are 32 bits, but it's not
> declared as unsigned. The unsigned int is uint32.

How are you getting on with integrating all these versions together?
Have you communicated with Niel (who probably knows more about the OS/2
version than anybody, by now)?

> CC'd to poster.

Ditto: I got your e-mail about 12 hours before the posting appeared
because of the backlog from Sunday's debacle.

-- 
Brian {Hamilton Kelly}                                         bhk@dsl.co.uk
                Tony Blair's New Labour: The Windows'95 of Political Parties
             (c/w Plug'n'Pray and a pretence of offering object-orientation)
Technical Details
Message-ID: <838669690snz@dsl.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <838060435snz@dsl.co.uk> <838306928snz.4895@grempc.demon.co.uk> <838400731snz@dsl.co.uk> <838411052snz@dsl.co.uk> <31fc8a5b.7116726@news.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bb05,467f920bc280412f
X-Google-Attributes: gid10bb05,public
From: Brian {Hamilton Kelly} <bhk@dsl.co.uk>
Subject: Re: DNS caching; is it *truly* possible to flush locally?
Date: 1996/07/29
Message-ID: <838669690snz@dsl.co.uk>
X-Deja-AN: 170883792
x-mail2news-path: dragnhll.demon.co.uk
x-nntp-posting-host: dragnhll.demon.co.uk
references: <838060435snz@dsl.co.uk> <838306928snz.4895@grempc.demon.co.uk> <838400731snz@dsl.co.uk> <838411052snz@dsl.co.uk> <31fc8a5b.7116726@news.demon.co.uk>
organization: Dragonhill Systems Ltd
newsgroups: demon.ip.developers