First of all, unknown 'root?' function called at 440 line.
It raises NoMethodError at line 278.
If I def root? as true, then function 'query_udp' (1195) works wrong -because it binds same port twice - for ipv4 and ipv6.
If I remove ipv6 it doesn't work too, because you should close sockets after use.
You can fix it by doing something like that: http://pastebin.com/PtgVeEH3
First of all, unknown 'root?' function called at 440 line. It raises NoMethodError at line 278. If I def root? as true, then function 'query_udp' (1195) works wrong -because it binds same port twice - for ipv4 and ipv6. If I remove ipv6 it doesn't work too, because you should close sockets after use. You can fix it by doing something like that: http://pastebin.com/PtgVeEH3