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

[Client] Connector does not honor /etc/resolv.conf #90

Closed
clue opened this issue Apr 10, 2017 · 0 comments · Fixed by #152
Closed

[Client] Connector does not honor /etc/resolv.conf #90

clue opened this issue Apr 10, 2017 · 0 comments · Fixed by #152
Assignees
Milestone

Comments

@clue
Copy link
Member

clue commented Apr 10, 2017

The Connector is currently hard-coded to default to Google's public DNS server 8.8.8.8. You can explicitly pass a custom DNS server (or Resolver instance) like this:

$connector = new Connector($loop, array(
    'dns' => '127.0.0.1'
));

Opening this ticket as a reminder - this actually depends on reactphp/dns#29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant