Dhcp server updating dns records

I've tried debugging the code and set various breakpoints to see if I can find out what is going on, but I just don't have enough experience with programming and don't know enough about the program itself to get very far.I'm using isc-dhcp 4.3.5 that I compiled from source. LOCAL (IPV6) # ######################### // // Do any local configuration here // // Consider adding the 1918 zones here, if they are not used in your // organization include "/etc/bind/zones.rfc1918"; include "/etc/bind/Kddns-aaaa-rrs.

However, these "dynamic" DNS records expire after some time (a few weeks)...

How can the DHCP be configured to refresh the DNS records after a given time interval?

I also have the DNS server log set to DEBUG, I don't ever see anything in the log.

Now when I start my DHCP server using my IPv4 configuration, DHCP updates the DNS server. subnet 172.16.0.0 netmask 255.255.255.0 ######################### # NAMED. LOCAL (IPV4) # ######################### // // Do any local configuration here // // Consider adding the 1918 zones here, if they are not used in your // organization include "/etc/bind/zones.rfc1918"; include "/etc/bind/Kddns-a-rrs.

Here is what I've setup in my dev environment: IPv6 configuration: ############### # DHCPD6. subnet6 fc01::/64 ######################### # NAMED. 157 02940.private"; include "/etc/bind/Kddns-ptr-rrs. 157 36566.private"; zone "appendata.net" in ; zone "0.0.0.0.0.0.0.0.0.0.0.0.1.0.c.f.ip6.arpa" in ; I then start the DHCPv6 server: [email protected]:~# dhcpd -6 -cf /etc/dhcp/dhcpd6-lf /var/lib/dhcp/dhcpd6.leases -pf /run/dhcpd6I have a test client as well.

CONF # ############### authoritative; option dhcp6.domain-search "appendata.net"; option dhcp6.name-servers fc01::a1; default-lease-time 86400; max-lease-time 604800; log-facility local7; ddns-updates on; ddns-update-style standard; ddns-domainname ""; ddns-rev-domainname "ip6"; do-forward-updates on; deny client-updates; update-static-leases on; update-optimization off; include "/etc/keys/Kddns-aaaa-rrs. I issue the following command on the client: $ dhclient -6 -cf /etc/dhcp/-lf /var/lib/dhcp/dhclient6.leases And this is what I see from the DHCPv6 server: [...] Server starting service.We have 2 DNS servers and randomly when we move a machine to a different VLAN, the DNS entry never registers the new IP. ddns-updates on; ddns-update-style standard; update-conflict-detection false; allow client-updates; ddns-domainname "local.domain.com"; ddns-rev-domainname ""; update-static-leases true; default-lease-time 7200; max-lease-time 7200; authoritative; [...] Whenever a client gets a new IP from the DHCP, the DNS registration works perfectly.TL; DR Sorry for the long email, but I'm having a very hard time getting my DHCP server that is setup to provide IPv6 address to update my DNS server.It seems that isc-dhcp doesn't have the functionality to do this. I've read through the man pages for dhcpd, dhcpd.conf, dhcp-options, dhcp-eval, dhclient, and as well as RFC 3315 and snippets of other RFC's related to DHCPv6 and IPv6.It was my understanding that you can't run the same instance of dhcpd for both IPv4 and 6.

671 Comments

  1. I surprised with the research you made to create this actual put up extraordinary. Banks are required to deduct TDS at 10%, if the overall curiosity earned in your fastened deposits in a financial institution branch exceeds Rs 10,000 in a financial year.

Comments are closed.