About RIPE | Contact  | Search | Sitemap    
Homepage RIPE  
RIPE Community Mail Archives
search  
     
RIPE Navigation Ends
About RIPE Maillists
Maillists Archive
Global Lists
Non Active Lists
RIPE NCC Navigation Ends
Next Section
<<< Chronological >>> Author Index    Subject Index <<< Threads >>>

host tool used for RIPE hostcounts

  • To:
  • From: Olafur Osvaldsson < >
  • Date: Mon, 26 Nov 2001 15:34:38 +0000

Hi,
As I understand, you made the host tool I'm referring to.

We've been using the host tool from ftp.ripe.net for the hostcounts since I
don't remember when but noticed some strange behaviour this month.

We got a bunch of these errors:

 *** incomplete resource record for ppp129-110.islandssimi.is, offset 8186
;; response truncated to 8192 bytes
;; got answer, 23618 bytes:
;; ns_initparse: Message too long
 *** expand error in resource record for islandssimi.is, offset 8186


After some diging it looks like this only happens when transfering from
nameservers with version 9 of bind, wich seems to be sending the whole transfer
at once instead of sending one RR at a time like bind 8 does.

I've fixed this by patching host.h and set the MAXPACKET size to what I think
is the maximum in bind 9.
There is probably a better solution to this but this atleast makes things work
correctly for now.

I've Cc'd this to the dns-wg@localhost as there are probably alot of people there
geting into the same trouble.

				Oli

-- 
Olafur Osvaldsson
Systems Administrator
Internet Iceland inc.
Tel:   +354 525-5291
Email: oli@localhost
*** host.h.orig	Mon Nov 26 15:14:45 2001
--- host.h	Mon Nov 26 14:39:12 2001
***************
*** 68,77 ****
  #define BROADCAST_ADDR	((ipaddr_t)0xffffffff)
  #define LOCALHOST_ADDR	((ipaddr_t)0x7f000001)
  
! #if PACKETSZ > 8192
! #define MAXPACKET PACKETSZ	/* PACKETSZ should be the max udp size (512) */
  #else
! #define MAXPACKET 8192		/* but tcp packets can be considerably larger */
  #endif
  
  typedef union {
--- 68,77 ----
  #define BROADCAST_ADDR	((ipaddr_t)0xffffffff)
  #define LOCALHOST_ADDR	((ipaddr_t)0x7f000001)
  
! #if PACKETSZ > 512
! #define MAXPACKET PACKETSZ      /* PACKETSZ should be the max udp size (512) */
  #else
! #define MAXPACKET 65536         /* but tcp packets can be considerably larger */
  #endif
  
  typedef union {

  • Post To The List:
<<< Chronological >>> Author    Subject <<< Threads >>>
 

Next Section
     About RIPE | Site Map | LIR Portal | About the RIPE NCC | Contact | © RIPE Community. All rights reserved.
RIPE.NET Homepage LIR Portal RIPE Community