/etc/resolv.conf contains:

nameserver 10.10.10.60
nameserver 10.10.10.1

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


On ".60" I've got:

        forwarders {
                71.252.0.12;
                71.242.0.12;
        };
 
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 @71.252.0.12 vostro1400 ANY

; <<>> DiG 9.4.1-P1.1 <<>> @71.252.0.12 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

;; QUESTION SECTION:
;vostro1400. IN ANY

;; ANSWER SECTION:
vostro1400. 0 IN A 8.15.7.117
vostro1400. 0 IN A 63.251.179.13

;; Query time: 13 msec
;; SERVER: 71.252.0.12#53(71.252.0.12)
;; 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 (8.15.7.117)
> 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
   lesmikesell@gmail.com

------------------------------------------------------------------------------
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:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/