Skip to content

Net::DNS::Resolver.new(:source_port) doesn't working #65

@promix17

Description

@promix17

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions