bugZoneCheck - Bugs: bug #33390, Unhandled Dnsruby exception when...

 
 

bug #33390: Unhandled Dnsruby exception when no global IPv6 connectivity available

Submitted by:  None
Submitted on:  Tue 24 May 2011 03:20:54 PM UTC  
 
Category: inputSeverity: High
Priority: 5 - NormalItem Group: Crash/Error
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 25 May 2011 01:20:53 PM UTC, comment #1:

Indeed, dnsruby is wrong to catenate the address and the port. Following RFC 3986, section 3.2, it should display:

dnsruby can't connect to [2A01:4F8:131:1282:BB24:D444:70F4:1D4A]:53 from ...

Stephane Bortzmeyer <bortzmeyer>
Project Administrator
Tue 24 May 2011 03:20:54 PM UTC, original submission:

When running on an host with IPv6 enabled but no true global IPv6 connectivity, in case of a nameserver having an AAAA record, Dnsruby tries to contact it and fails with error message "ERREUR: dnsruby can't connect to 2A01:4F8:131:1282:BB24:D444:70F4:1D4A:53 from :::52964, use_tcp=false, exception = Errno::ENETUNREACH, Network is unreachable - "

(the error message seems to be created inside lib/Dnsruby/PacketSender.rb by method send_dnsruby around line 387)

In the same way as bug #33199, Zonecheck does not correctly catch this error, hence the exception completely halts zonecheck and messes the output.

As a side note, the Dnsruby message may be confusing to some users, because the concatenation of the IPv6 address with the port number and a colon in between, looks like a new IPv6 address, which it isn't.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bortzmeyer (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1