mirror of
https://github.com/duncs/clusterssh.git
synced 2025-04-22 09:22:24 +00:00
Do not attempt to re-resolve IP addresses
This commit is contained in:
parent
fca92a477b
commit
2080756a99
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
??? Duncan Ferguson <duncan_ferguson@user.sf.net> - v3.24-1
|
||||
|
||||
* Do not attempt to re-resolve IP addresses
|
||||
|
||||
2008-01-23 Duncan Ferguson <duncan_ferguson@user.sf.net> - v3.23-1
|
||||
|
||||
* Apply bugfix supplied by Jima
|
||||
|
|
|
@ -823,6 +823,10 @@ sub setup_helper_script() {
|
|||
|
||||
sub check_host($) {
|
||||
my $host = shift;
|
||||
if ( $host =~ m/^(\d{1,3}\.?){4}$/ ) {
|
||||
logmsg( 2, "Not resolving IP address '$host'" );
|
||||
return 1;
|
||||
}
|
||||
if ( $config{method} eq "ssh" ) {
|
||||
logmsg( 1, "Attempting name resolution via user ssh config file" );
|
||||
if ( $ssh_hostnames{$host} ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue