Advertisement
Guest User

coffe / dhcp6 and radvd and bind.

a guest
Mar 16th, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. cat radvd.conf
  2. interface eth0
  3. {
  4. AdvSendAdvert on;
  5. AdvManagedFlag on;
  6. #AdvHomeAgentFlag off;
  7. #AdvOtherConfigFlag off;
  8. #MinRtrAdvInterval 30;
  9. #MaxRtrAdvInterval 100;
  10. #AdvDefaultLifetime 300;
  11. prefix 2001:16d8:ff00:8585::/64
  12. {
  13. AdvOnLink on;
  14. AdvAutonomous off;
  15. };
  16. };
  17.  
  18. cat dhcpd6.conf
  19. include "/etc/dhcp/common.conf";
  20. include "/etc/dhcp/secret.key";
  21.  
  22. option dhcp6.name-servers 2001:16d8:ff00:8585::1;
  23.  
  24. zone kylstamp.com. {
  25. key rndc-key;
  26. }
  27. zone 5.8.5.8.0.0.f.f.8.d.6.1.1.0.0.2.ip6.arpa. {
  28. key rndc-key;
  29. }
  30.  
  31.  
  32.  
  33. subnet6 2001:16d8:ff00:8484::/64 {
  34. range6 2001:16d8:ff00:8585:1000::1 2001:16d8:ff00:8585:1000::100;
  35. option dhcp6.name-servers 2001:16d8:ff00:8585::1;
  36. option dhcp6.domain-search "kylstamp.com";
  37. }
  38.  
  39. This requires a working setup of bind , if one follows the ubuntu guide on how to set up dhcp(ipv4) with bind go get automatic name updates.
  40. (http://spin.atomicobject.com/2012/04/03/setting-up-bind9-and-dhcp3-on-ubuntu-with-dynamic-dns/) seems to be fine.
  41.  
  42. Just ask @ freenode@raspberrypi and i will try to help
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement