Bacula-users

Re: [Bacula-users] What's happen if a Client change their IPaddress?

2008-10-29 17:49:26
Subject: Re: [Bacula-users] What's happen if a Client change their IPaddress?
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 29 Oct 2008 22:46:36 +0100
Hi,

29.10.2008 21:33, Joshua J. Kugler wrote:
> On Wednesday 29 October 2008, Reynier Perez Mira said something like:
>>>> Myself, I simply linked the DNS and DHCP servers so that clients
>>>> register can their dynamic addresses at the DNS server. My Bacula
>>>> daemon then simply uses the hostnames to find them.
>> Ok, I'm think this is the best solution. Could you send me or tell me
>> where to find some information about link DHCP and DNS servers? I
>> need to study this because I never do this before
> 
> If you're on a small network, you can use 
> http://www.thekelleys.org.uk/dnsmasq/  That will link your DNS lookup 
> with the DHCP names the clients use.

For small networks, dnsmasq is a really great solution, as far as I 
know (I never used it myself, though).

> If you're on a large network, and 
> are using Bind, or another DNS server, I can't help you there...never 
> linked DHCP and DNS on something like that.

Windows servers should do the right thing more or less automatically 
(it's part of their AD (and domain) system). Not being a windows 
person, I don't know the details, but I guess a default setup should 
work fine.

If you're using bind and ISC's dhcpd, you can find the relevant 
information in the manuals for dhcpd.

Basically, you set up dhcpd for dynamic DNS updates. The dhcpd setup 
is quite straightforward there - it assigns a host name to the client, 
and registers that name with DNS. Note that the so-called "interim" 
update method is the correct way to do dynamic DNS updates with bind.

The bind setup requires you to allow dynamic updates, and that's also 
not black magic... define keys, and in the relevant zones, allow 
updates for those keys. Typically, you store the zone data files in 
separate directories, so you can have filesystem permissions where you 
disallow changes to the static zones.

DNS key file generation is done with the dnssec-keygen program, which 
is part of the bind program. You ned hmac-md5 keys, IIRC.

There is complete information spread throughout the manuals for dhcpd 
and bind, but it's a bit hard to put together (or was, when I last 
needed it - which is a while ago). I can provide you with examples...

Arno

> j
> 
> 

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

-------------------------------------------------------------------------
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=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users