[GLLUG] need BIND / DHCPD help

Caleb Cushing xenoterracide at gmail.com
Tue Sep 26 14:07:14 EDT 2006


I'm setting up a BIND 9.3 server  that works with my dhcp server. why?
cause I want to learn it, yes I know it's overkill for what I'm doing.
my dean asked where I'm getting my experience since I try to test out
of everything, "paper degree" well... this is how I do it. although I
think I get most of the "general" ideas of dns. I'm having trouble
understanding some of the exact syntax of zone files. and setting bind
up so that dhcp will be able to update it.

from named.conf btw... I'm going to use a different name I just don't
have it registered yet.

zone "network.net" IN {
     type master;
     file "pri/network.net.zone";
     allow-update { none; };
     notify no;
};

and the zone file
$TTL 3h
@    IN SOA slave1.network.net. xenoterracide.netwrok.net. (
     2006092601    ;serial
     3h             ;Refresh after 3 hours
     1h             ;retry after 1 hour
     1w             ;Expire after 1 week
     1h )           ;negative caching TTL 1 hour

;
; Name Servers
;
     IN NS slave1.network.net.


that's all I have... and I'm not sure it's all correct

what I need is to have this provide names for 2-3 hosts (more to come)
one of the hosts is the nameserver so it needs to have a few cnames
I'm sure...


what I'm confused about though is how can I get  my dhcp client to
update the servers IP addy in my records if it changes and how can I
get the dhcpd server this machine is running to correctly update the
names of any hosts I have that aren't the server (I know the second
part is possible and even I think how to configure the dhcp side of
it).

although these are all unlikely to change I would rather I don't have
to update them if they do.


More information about the linux-user mailing list