mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-03 09:53:23 +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
|
2008-01-23 Duncan Ferguson <duncan_ferguson@user.sf.net> - v3.23-1
|
||||||
|
|
||||||
* Apply bugfix supplied by Jima
|
* Apply bugfix supplied by Jima
|
||||||
|
|
|
@ -823,6 +823,10 @@ sub setup_helper_script() {
|
||||||
|
|
||||||
sub check_host($) {
|
sub check_host($) {
|
||||||
my $host = shift;
|
my $host = shift;
|
||||||
|
if ( $host =~ m/^(\d{1,3}\.?){4}$/ ) {
|
||||||
|
logmsg( 2, "Not resolving IP address '$host'" );
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
if ( $config{method} eq "ssh" ) {
|
if ( $config{method} eq "ssh" ) {
|
||||||
logmsg( 1, "Attempting name resolution via user ssh config file" );
|
logmsg( 1, "Attempting name resolution via user ssh config file" );
|
||||||
if ( $ssh_hostnames{$host} ) {
|
if ( $ssh_hostnames{$host} ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue