Skip to content

Conversation

@Rob-Hague
Copy link
Collaborator

The library currently performs a DNS lookup of the desired host, takes the first returned IP address and connects to that. Instead, we can just pass the hostname down to System.Net.Sockets which will do the right thing, potentially trying multiple addresses if needed.

@Rob-Hague Rob-Hague marked this pull request as draft May 23, 2024 21:27
The library currently performs a DNS lookup of the desired host, takes the first
returned IP address and connects to that. Instead, we can just pass the hostname
down to System.Net.Sockets which will do the right thing, potentially trying
multiple addresses if needed.
@Rob-Hague Rob-Hague marked this pull request as ready for review June 14, 2024 21:25
Copy link
Collaborator

@WojciechNagorski WojciechNagorski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@WojciechNagorski WojciechNagorski merged commit 919af75 into sshnet:develop Jun 18, 2024
@Rob-Hague Rob-Hague deleted the dnsconnect branch June 18, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants