mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
[GH-ISSUE #244] DNS timeout hangs the bastion #63
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#63
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RomainL972 on GitHub (Sep 16, 2021).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/244
Hi,
I noticed that if one of the DNS resolver configured on the bastion server isn't responding, the Bastion will hang for ~30 seconds before connecting the the specified host.
The commands
host,digor evensshdon't hang at all, and just use another resolver. I don't know if it's a Perl problem or a problem in the Bastion but it's very annoying when connecting is very slow and you have no idea why.Best Regards.
@zer0init1 commented on GitHub (Nov 9, 2021):
Hi.
Try use options in your
/etc/resolv.conffor test env. For example:For debug, try
options debug@speed47 commented on GitHub (Dec 17, 2021):
Closing, as this is not directly related to The Bastion: if your
/etc/resolv.confpoint to unresponsive DNS servers, any program running on your system will appear to be slow when attempting to use the DNS. The Bastion uses the DNS to resolve any hostname you may have passed to it, but also to get the PTR of the IP it's connecting to, for audit logs purposes.