Skip to content

never-ending loop when trying to resolve a non-ip nameserver in /etc/resolv.conf #179

@javierwilson

Description

@javierwilson

When dealing with an invalid entry in /etc/resolv.conf (in my case an address ending in comma 8.8.8.8,) in config.rb when parsing /etc/resolv.conf:

  1. IPv4.create(n) fails, then
  2. IPv6.create(n) fails, then
  3. Use Dnsruby to resolve the servers First, try the default resolvers. This of course tries to parse /etc/resolv.conf, going back to 1. creating the loop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions