Has anyone added scripts to dhcpd.conf to control DDNS AAAA records based
on MAC address?

It's such an obvious idea, that someone must have done it!

[[[ Background
  for those who don't routinely use IPv6, DDNS and Bind.

  When a network interface comes up, it can autoconfigure itself with
  an IPv6 address based on its MAC address, combined with a default
  prefix that is broadcast from an IPv6 router somewhere else on the
  network. 

  Typically, in an IPv4 system, the system will also request an IPv4
  address using a protocol called DHCP (Dynamic Host Configuration
  Protocol).  With the request, the system can pass a hostname, and
  it's fairly trivial to configure the DHCP server to insert this into
  the DNS server's tables, with an A record matching name to IPv4
  address.  When the lease expires, or is explicitly released, the A
  record is removed.

  I want also to add the AAAA record for the IPv6 address that would
  be auto-configured.

  It's fairly easy to write a script to do this, with appropriate
  checks and balances (e.g., use ping6 to make sure that the client
  actually uses IPv6).  It *should* be possible to do it entirely
  inside the dhcpd.conf file for dhcp3.  And I don't want to reinvent
  the wheel if there's already something out there.
]]]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to