BackupPC-users

Re: [BackupPC-users] Ping too slow

2008-09-04 21:34:34
Subject: Re: [BackupPC-users] Ping too slow
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: Andrew <andrew AT falconsys DOT com>
Date: Thu, 04 Sep 2008 18:34:23 -0700
Andrew writes:

> ping -c 1 shipping
> 
> ... the trick being it is _not_ doing nmblookup to get the IP address of
> the windows host. Instead, it's trying to DNS "shipping" using opendns.
> OpenDNS creates the same issue as my ISP's DNS: it will direct any host
> that isn't found to its own search servers.
> 
> The nmblookup variable is set correctly in the config, though from
> reading the script the $host is passed to ping directly. Is there
> anything I can do to make BackupPC use nmblookup before executing ping,
> or am I at the mercy of the system's DNS? Prior to this the system had
> no DNS servers set. Now... I suppose I'd just add each server to the
> hosts file as the easiest method. I'm not going to create a DNS server
> that directly references the root DNS servers so I can tell when a
> computer doesn't DNS.

Look at "How BackupPC Finds Hosts" in the documentation.

First DNS is checked.  If it fails, then nmblookup is done
(if configured).  Then ping is used to check if the host
is alive (if configured).

You have several choices: configure your DNS correctly,
skip the ping check or increase the ping timeout.

Craig

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/