dns resolution fails in UI with only IPv6-recursive nameservers

Bug #437586 reported by Lennie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mtr (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: mtr

While using Jaunty/mtr-tiny and mtr version 0.75-2 I noticed a problem.

If the only recursive nameservers (the nameserver setting in /etc/resolv.conf) that are available are IPv6, the dns resolution in the ncurses ui fails.

In the --report mode it works.

I installed the mtr package and the same happend.

My guess is, when it's using --report it will use the system library which works with IPv4 and IPv6 nameserver settings.

In the case of the ncurses or grafical ui, mtr(-tiny) tries to do it itself with a non-blocking method and only seems to understand IPv4 nameservers.

I looked at some sourcecode, at first glance it seems to add only IPv4 address to the list of recursive nameservers in dns_open.

That could be the place were it goes wrong. I tried to change what seemed wrong at first glance, but that didn't help.

I subscribed to the mtr-mailinglist at the upstream-source (bitwizard I think it was) but their was no subscribe-confirmation so I assumed it failed. As I'm on Ubuntu using a Ubuntu package, I'm reporting it here, not Debian directly.

Hope this helps.

Tags: ipv6
Emmet Hikory (persia)
tags: added: ipv6
Revision history for this message
Antonio Querubin (aaq) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.