BackupPC-users

Re: [BackupPC-users] host resolution problem

2011-03-21 03:36:37
Subject: Re: [BackupPC-users] host resolution problem
From: Gabriel Rossetti <mailing_lists AT evotex DOT ch>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 21 Mar 2011 08:34:02 +0100
On 03/20/2011 08:34 PM, Matthias Meyer wrote:
> Gabriel Rossetti wrote:
>
>> On 03/19/2011 09:49 PM, Papp Tamas wrote:
>>> On 03/19/2011 09:02 PM, Gabriel Rossetti wrote:
>>>> Hello everyone,
>>>>
>>>> I read up on how BackupPC finds hosts, in my case nmblookup works. The
>>>> problem is that when it tries to run the ssh command, it uses the host's
>>>> name and not the IP it finds with nmblookup, so ssh exits complaining it
>>>> can't find the host. How can I get BackupPC to use the IP found using
>>>> nmblookup? I thought it would automatically do this since it can't
>>>> resolve it directly, but I guess not.
>>>>
> Whats about to configure $Conf{SshPath} to use a self made script which use
> ssh by IP instead name.
>
> Another (in my point of view much better) way is to configure your clients
> to tell their DNS-names to the DNS service.
> In Linux you can reach this by editing /etc/dhcp3/dhclient.conf or
> /etc/dhcp/dhclient.conf (at least in Debian)
> Write there a line 'send host-name "<hostname>";'
>
> br
> Matthias
I will try that with the linux clients, I'm not sure if I can with the 
Mac clients though.

thanks,
Gabriel

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
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/