-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat: faster and simpler DNS checks, better ip-address determination #346
Conversation
Can we remove checking PTR records completely? See #336 |
we could probably remove the ip-address detection but |
shrinks and streamlines the DNS-checking code to use 'execnet' which allows to execute python functions remotely.
DNS-checking is much faster as the ssh-connection is re-used, and there are much fewer roundtrips.
Instead of parsing the output of the "ip" command this PR uses a standard python "socket" pattern to determine IPV4 and IPV6 addresses. This is likely less dependent on the target enviroment, so could also work better with non-debian systems.
DNS checking now gives progress indicators (use -v|--verbose to see commands executed remotely)