Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Ruby Resolv instead of LibC for hostname lookup #739

Merged
merged 2 commits into from Mar 21, 2021

Commits on Mar 20, 2021

  1. Use Ruby Resolv instead of LibC for hostname lookup

    This way DNS resolver can be replaced with:
    
    ```ruby
    Resolv::DefaultResolver.replace_resolvers [Resolv::DNS.new(nameserver: ['8.8.8.8']]
    ```
    
    Related: excon#159, excon#184
    carlhoerberg committed Mar 20, 2021
    Copy the full SHA
    5cfec59 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    b3d3f89 View commit details
    Browse the repository at this point in the history