[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to make DNS and DHCP server play nice?



Jerry Quinn wrote:


<snip>

Thanks for the info.
This is clearly depressing.  I was hoping someone had already made it
simple to Do The Right Thing(tm).
Ah, well.  I guess I can add fixing a DNS server to work right to the
list of many projects I might get around to doing some day.

Thanks,
Jerry



Hi,
what about just using the dhcp-dns package? Using it only requires minimal changes to the DNS setups.

Here's the relevant sections of the DNS files.

zone "company.internal" {
        type master;
// this is the ip of my dhcp server you need this line to be the same as your dhcp server
allow-update { 192.168.1.13;}; file "company.internal";
};

zone "1.168.192.in-addr.arpa" {
        type master;
        allow-update { 192.168.1.13;};
        file "0.1.168.192";
};

Here the dhcp-dns.conf file

$DDNSHOME="/var/lib/dhcp-dns";
$DHCPD="/var/dhcp/dhcpd.leases";
#$DOMAIN="__DOMAIN__";
$DOMAIN="company.internal";
$NSUPDATE="/usr/sbin/nsupdate";

In my "company.internal" I have entries for a SOA for my DNS server and that about it for changes. I don't have anything fancy like secured updates or the like, this is a small internal network.
If you need more help ask I'll do what I can.

Bill





Reply to: