Bug#528992: mtr: No DNS resolution in trace, when only IPv6 transport used (no v4 dns hosts in /etc/resolv.conf

2009-05-17 Thread Rogier Wolff


I expect that this is very difficult to fix: mtr implements its own 
name resolving. It has its own code to contact name servers and such. 

This is bad software engineering. 

I've been thinking about a next generation mtr. 

It will use multiple processes to handle different parts of the 
mtr system. 

So one process will do name resolving. Maybe we'll allow for the old
implementation to perform this function (with the current bug
included!), but certainly we'll have an implementation that simply
calls the getnameinfo function. This will be slower than the current
implementation, as queries to different nameservers will not be issued
in parallel. So another implementation will for off as many processes
as neccesary to do all the name queries in parallel. This will cost
you a peak of say 10 processes all stuck in the getnameinfo function
for a few seconds...

Roger. 


On Sun, May 17, 2009 at 03:59:42AM +0100, Martin List-Petersen wrote:
 Package: mtr
 Version: 0.73-1
 Severity: important
 
 mtr does not resolve the reverse DNS hostnames for any hosts of the trace,
 when only DNS servers with IPv6 addresses are listed in resolv.conf. This
 applies to console (including mtr-tiny) and X11 interfaces. It also applies
 to both IPv4 and IPv6 traces.
 
 If at least one DNS server with IPv4 address is listed, reverse name
 resolution starts working again.
 
 Kind regards,
 Martin List-Petersen
 
 
 -- System Information:
 Debian Release: lenny/sid
   APT prefers stable
   APT policy: (500, 'stable')
 Architecture: i386 (i686)
 
 Kernel: Linux 2.6.18-6-686 (SMP w/2 CPU cores)
 Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/bash
 
 Versions of packages mtr depends on:
 ii  libatk1.0-0   1.22.0-1   The ATK accessibility toolkit
 ii  libc6 2.7-13 GNU C Library: Shared libraries
 ii  libcairo2 1.6.4-6.1  The Cairo 2D vector graphics 
 libra
 ii  libglib2.0-0  2.16.6-1   The GLib library of C routines
 ii  libgtk2.0-0   2.12.11-4  The GTK+ graphical user 
 interface 
 ii  libncurses5   5.6+20080830-1 shared libraries for terminal 
 hand
 ii  libpango1.0-0 1.20.5-3   Layout and rendering of 
 internatio
 
 mtr recommends no packages.
 
 -- no debconf information
 
 
 
 

-- 
** r.e.wo...@bitwizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 **
**Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233**
*-- BitWizard writes Linux device drivers for any device you may have! --*
Q: It doesn't work. A: Look buddy, doesn't work is an ambiguous statement. 
Does it sit on the couch all day? Is it unemployed? Please be specific! 
Define 'it' and what it isn't doing. - Adapted from lxrbot FAQ



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#528992: mtr: No DNS resolution in trace, when only IPv6 transport used (no v4 dns hosts in /etc/resolv.conf

2009-05-16 Thread Martin List-Petersen
Package: mtr
Version: 0.73-1
Severity: important

mtr does not resolve the reverse DNS hostnames for any hosts of the trace,
when only DNS servers with IPv6 addresses are listed in resolv.conf. This
applies to console (including mtr-tiny) and X11 interfaces. It also applies
to both IPv4 and IPv6 traces.

If at least one DNS server with IPv4 address is listed, reverse name
resolution starts working again.

Kind regards,
Martin List-Petersen


-- System Information:
Debian Release: lenny/sid
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-6-686 (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mtr depends on:
ii  libatk1.0-0   1.22.0-1   The ATK accessibility toolkit
ii  libc6 2.7-13 GNU C Library: Shared libraries
ii  libcairo2 1.6.4-6.1  The Cairo 2D vector graphics libra
ii  libglib2.0-0  2.16.6-1   The GLib library of C routines
ii  libgtk2.0-0   2.12.11-4  The GTK+ graphical user interface 
ii  libncurses5   5.6+20080830-1 shared libraries for terminal hand
ii  libpango1.0-0 1.20.5-3   Layout and rendering of internatio

mtr recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org