DHCP BIND Active Directory

Donatas Abraitis donatas.abraitis at gmail.com
Wed Jan 20 09:54:51 UTC 2010


Hey,

I'm in trouble with this:

#####
dhcpd.conf
#####

ddns-updates on;
ddns-update-style interim;
ddns-domainname "xxx.com";
max-lease-time 604800;
default-lease-time 604800;
authoritative;
log-facility local1;
update-static-leases on;

option domain-name              "xxx.com";
option domain-name-servers      X.X.X.X, Y.Y.Y.Y;

if exists agent.circuit-id
{
log ( info, concat( "Management IP: ", binary-to-ascii (10, 8, "", suffix (
option agent.remote-id, 1)), " | Client IP: ", binary-to-ascii (10, 8, ".",
leased-address), " | Connected to interface ", binary-to-ascii (10, 8, "/",
suffix ( option agent.circuit-id, 2))));
}

host hp_laptop_9 { hardware ethernet 00:21:85:01:82:5f; fixed-address
172.16.4.6; option domain-name "xxx.com"; ddns-hostname = concat("hp-lap-9",
".","p",binary-to-ascii (10,8,"", suffix(option agent.circuit-id,1)),".",
"sw", binary-to-ascii (10,8,"", suffix(option agent.remote-id,1))); }

#####
Computer 172.16.3.68 has the same configuration in dhcpd.conf as
hp_laptop_9, but this computer is connected to Microsoft Active Directory.
#####

Jan 20 11:23:22 vartai dhcpd: Management IP: 240 | Client IP: 172.16.3.68 |
Connected to interface 0/1
Jan 20 11:23:22 vartai dhcpd: added reverse map from
68.3.16.172.in-addr.arpa. to orfejas.kavb.kvb
Jan 20 11:23:22 vartai dhcpd: DHCPREQUEST for 172.16.3.68 from
00:0b:6a:e1:b9:90 via eth1.237

#####
This computer isn't connected to Active Directory.
Do not pay attention on this "timed out".
#####

Jan 20 11:15:10 vartai dhcpd: Management IP: 242 | Client IP: 172.16.4.9 |
Connected to interface 0/9
Jan 20 11:15:10 vartai dhcpd: Unable to add forward map from
hp-lap-21.p9.sw242.xxx.com to 172.16.4.9: timed out
Jan 20 11:15:10 vartai dhcpd: DHCPREQUEST for 172.16.4.9 from
00:21:85:34:41:5f via eth1.500

#####
Problem
#####

How can I fix it, that host 172.16.3.68 would have
orfejas.p1.sw240.xxx.com? Is it dhcpd misconfiguration or what ? Any
computer connected to Active
Directory fail on this.

Thanks,
Donatas Abraitis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100120/25d3a628/attachment.html>


More information about the dhcp-users mailing list