Is it possible to Add dhcp records to dns

Bob Vance bobvance at alumni.caltech.edu
Tue Feb 6 19:11:53 UTC 2001


First, go to ftp.isc.org/isc/dhcp and get the latest 'dhpcd'
(3.0b2pl16).

Then, to /etc/dhcpd.conf,  add

ddns-update-style ad-hoc;

Then it just works :)

But the dynamic updates will re-write your zone data, so you may want to
segregate your dynamic zones from your static zones.
So, add something like:

ddns-domainname "dynamic.tflogic.com.";
ddns-rev-domainname "dynamic.tflogic.com.";

or whatever for your domains.

When you do this with your reverse domain, as shown, be sure to add
appropriate CNAMEs in the "normal" reverse zone to your new, static
reverse:

$ORIGIN 9.1.10.in-addr.arpa.
   ...
$GENERATE 33-62 $  CNAME  $.1.9.10.dynamic.tflogic.com.


DHCP will be adding the

foo.dynamic.tflogic.com.  IN  A  10.1.9.43

and corresponding

43.9.1.10.dynamic.tflogic.com.  IN PTR  foo.dynamic.tflogic.com.

records for you.

You'll need a new zone for "dynamic"  in  /etc/named.conf.


-------------------------------------------------
Tks        | <mailto:BVance at sbm.com>
BV         | <mailto:BobVance at alumni.caltech.edu>
Sr. Technical Consultant,  SBM, A Gates/Arrow Co.
Vox 770-623-3430           11455 Lakefield Dr.
Fax 770-623-3429           Duluth, GA 30097-1511
=================================================





-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of Charles Bodley
Sent: Tuesday, February 06, 2001 11:19 AM
To: bind-users at isc.org
Subject: Is it possible to Add dhcp records to dns



Is it possible to Add dhcp records to dns. By this I mean we have
Approximately 30 Dhcp clients. I would like to make them all part of a
domain. for instance vali-laptop is a machine name. it has an internal
ip of
10.1.9.1 it is given this ip using dhcp but the ip is actually static. I
did
this by adding certain lines to dhcpd.conf
group {
   host vali-laptop.cyberset.com {
              hardware ethernet 00:50:04:95:9b:43;
              fixed-address 10.1.9.1;
             }
}
I then created a domain *.internal.tflogic.com. This is to hold all our
internal servers and workstations. I have gotten this to work with any
static IP but have no clue how to do it for dhcp hosts. is there a way
to
get the dhcpd hosts file imported into *.internal.tflogic.com?






More information about the bind-users mailing list