Send dhcp-users mailing list submissions to dhcp-users@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/dhcp-users or, via email, send a message with subject or body 'help' to dhcp-users-requ...@lists.isc.org You can reach the person managing the list at dhcp-users-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of dhcp-users digest..." Today's Topics: 1. How to configure isc-dhcpd-server to update reverse zone without client pre configuration? (Vladimir Skubriev) 2. cutover from conf file to ldap (Brendan Kearney) ---------------------------------------------------------------------- Message: 1 Date: Wed, 18 May 2016 16:27:40 +0300 From: Vladimir Skubriev <skubr...@cvisionlab.com> To: dhcp-users@lists.isc.org Subject: How to configure isc-dhcpd-server to update reverse zone without client pre configuration? Message-ID: <caggnakryjkwqow6jec73c9uk7xmv9g1avk6reoxej3_pkf5...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" How to configure isc-dhcpd-server to update reverse zone without client pre configuration? I'm trying to set up isc-dhcpd-server from ubuntu 16.04 (4.3.3-5ubuntu12) to configuring heterogeneous network with ubuntu, windows, macos, other ip devices. I'm already setuped bind to store ip address configuration of statically configured hosts in dns. My internal zone already has an A records like: client.example.lab a 900 192.168.1.10 server.example.lab a 900 192.168.1.11 Also I have statically defined hosts on dhcpd.conf like: host client { hardware ethernet: 08:00:27:d8:78:e5 fixed-address client; } I don't want to update A records in my internal zone example.lab dynamically. Because this setup requires sustained attention to clean up zones because of update errors like 'YXDOMAIN, NXRRSET etc' I want to update dynamically only reverse zone of my internal subnet 192.168.1.0/24 So I configured the dhcpd server as follows: ddns-updates on; do-forward-updates off; The documentation states that: do-forward-updates flag; ... If this statement is used to disable forward updates, the DHCP server will never attempt to update the client's A record, and will only ever attempt to update the client's PTR record if the client supplies an FQDN that should be placed in the PTR record using the fqdn option. I tried to setup this option manually on ubuntu in /etc/dhcp/dhclient.conf as follows: send fqdn.fqdn = "client.example.lab" In this case dhcpd server succesfully updates reverse PTR zone with this fqdn name. Also it is point the obtained ip to this fqdn name. But this workflow assumes that I need to configure each client in the net. Is there another way to configure isc-dhcp-server for retrive fqdn.fqdn from the server itself, without client pre-configuration? Is it is impossible now with isc-dhcp-server ? -- Faithfully yours, CVision Lab System Administrator Vladimir Skubriev -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20160518/cc4f798f/attachment-0001.html> ------------------------------ Message: 2 Date: Wed, 18 May 2016 19:17:25 -0400 From: Brendan Kearney <bpk...@gmail.com> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: cutover from conf file to ldap Message-ID: <573cf805.4010...@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed running fedora 20, dhcp 4.2.7 (i will be upgrading to f24 shortly after it comes out) i have put a bunch of effort into setting up ldap to house my configs and all of the directives in my conf file(s) are in ldap at this point. if i run the below: dhcpd -4 -f -t -cf /etc/dhcp/dhcpd.conf.ldap bond0 i get: Internet Systems Consortium DHCP Server 4.2.7 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ it seems that no issues exist in the config, as housed in ldap. if i run the same command with a -T, to test the leases file, every IP in all subnets, pools, etc is reported with the below line: lease 192.168.xxx.xxx: no subnet. the subnet definition exists in ldap, so i dont know what this might be. a nuance with the lease file, maybe? any pointers would be appreciated. now, when i cutover from conf files to ldap, what is the proper procedure? i tried to do so already, and all sorts of problems came from it. existing leases were getting NAK responses for renewals, and new leases were not being given out. i even wound up with "peer holds all free leases" errors from both servers. i stopped both instances, changed the conf files from static files to a config pointing to ldap for configs, and started one instance. i waited a minute or so and started the second instance. i also stopped both instances and removed the leases files from both servers and restarted. in no scenario was i able to get leases to start being handed out. because the network is a lab network, i dont have any real requirement for things to stay online at all times. am i missing something in my approach? are there best practices to perform such a change? thanks in advance, brendan ------------------------------ _______________________________________________ dhcp-users mailing list dhcp-users@lists.isc.org https://lists.isc.org/mailman/listinfo/dhcp-users End of dhcp-users Digest, Vol 91, Issue 21 ******************************************