/etc/resolv.conf contains:


.60 is my internal DNS, and .1 is the router.

On ".60" I've got:

        forwarders {
in /etc/bind/named.conf.options.  Those are Verizon's DNS servers.  My internal DNS server contains records for a few in-house servers; when .60 receives a request for a domain it doesn't know about, it passes the request along to Verizon.

The bad DNS records are coming from Verizon; check it:

$ dig @ vostro1400 ANY

; <<>> DiG 9.4.1-P1.1 <<>> @ vostro1400 ANY
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40845
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;vostro1400. IN ANY

vostro1400. 0 IN A
vostro1400. 0 IN A

;; Query time: 13 msec
;; WHEN: Wed Jul 28 10:04:53 2010
;; MSG SIZE  rcvd: 60

On Tue, Jul 27, 2010 at 6:47 PM, Les Mikesell <lesmikesell@gmail.com> wrote:
On 7/27/2010 5:36 PM, Frank J. Gómez wrote:
> *With DHCP set to 1:*
> $ ./BackupPC_dump -v -f vostro1400
> cmdSystemOrEval: about to system /bin/ping -c 1 vostro1400
> cmdSystemOrEval: finished: got output PING vostro1400 (
> 56(84) bytes of data.
> It seems that, regardless of how the DHCP flag is set, BackupPC is going
> to ping the hostname.  In that case, why bother with nmblookup at all?
>   Where is the result of nmblookup used?  I don't understand.

Hmmm, maybe it tries DNS and only uses nmblookup if it fails.  Is there
some reason your DNS is returning the wrong IP here instead of failing?
 What 'search' domains do you have in /etc/resolv.conf where it must be
finding a match?

You could just replace the ping command with something that would always
succeed, but then timeouts would be slow when hosts were down.

  Les Mikesell

The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
BackupPC-users mailing list
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/