Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.02 KB | None | 0 0
  1. root@blldns01:~# cat /etc/bind/named.conf.local
  2. //
  3. // Do any local configuration here
  4. //
  5.  
  6. // Consider adding the 1918 zones here, if they are not used in your
  7. // organization
  8. include "/etc/bind/zones.rfc1918";
  9. include "/etc/bind/Kddns-aaaa-rrs.+157+11111.private";
  10. include "/etc/bind/Kddns-ptr-rrs.+157+11111.private";
  11.  
  12. key DHCP_UPDATER {
  13. algorithm HMAC-MD5.SIG-ALG.REG.INT;
  14. secret "XXXXXXXXXXXXXXXX==";
  15. };
  16.  
  17. zone "appendata.net" in {
  18. type master;
  19. notify yes;
  20. file "/var/lib/bind/db.appendata.net";
  21. allow-update { 2620:5:e000:201e::4:1; };
  22. # allow-update { key DHCP_UPDATER; };
  23. # update-policy {
  24. # grant "ddns-aaaa-rrs" self * AAAA TXT DHCID;
  25. # };
  26. };
  27.  
  28. zone "0.0.0.e.5.0.0.0.0.2.6.2.IP6.ARPA" in {
  29. type master;
  30. notify yes;
  31. file "/var/lib/bind/db.2620.5.e000";
  32. allow-update { 2620:5:e000:201e::4:1; };
  33. # allow-update { key DHCP_UPDATER; };
  34. # update-policy {
  35. # grant "ddns-ptr-rrs" self * PTR TXT DHCID;
  36. # };
  37. };
  38.  
  39. #################
  40. # DDNS SETTINGS #
  41. #################
  42. # The ddns-updates-style parameter controls whether or not the server will
  43. # attempt to do a DNS update when a lease is confirmed. We default to the
  44. # behavior of the version 2 packages ('none', since DHCP v2 didn't
  45. # have support for DDNS.)
  46. ddns-updates on;
  47. ddns-update-style interim;
  48. allow client-updates;
  49. ddns-domainname "appendata.net.";
  50. ddns-rev-domainname "ip6.arpa.";
  51. do-forward-updates on;
  52.  
  53. # Include keys used to securely communicate with the DNS server.
  54. include "/etc/keys/Kddns-aaaa-rrs.+157+11111.private";
  55. include "/etc/keys/Kddns-ptr-rrs.+157+11111.private";
  56.  
  57. key DHCP_UPDATER {
  58. algorithm HMAC-MD5.SIG-ALG.REG.INT;
  59. secret "XXXXXXXXXXXXXXXXXXX==";
  60. };
  61.  
  62. # Configuring zones for ddns-updates.
  63. zone appendata.net. {
  64. primary ns1-int.appendata.net;
  65. # primary6 2620:5:e000::a1;
  66. # key DHCP_UPDATER; # AAAA DNS key for RR's.
  67. }
  68. zone 0.0.0.e.5.0.0.0.0.2.6.2.ip6.arpa. {
  69. primary ns1-int.appendata.net;
  70. # primary6 2620:5:e000::a1;
  71. # key DHCP_UPDATER; # PTR DNS key for RR's.
  72. }
  73.  
  74. Jul 25 10:22:56 blldhcp01 dhcpd[1489]: Solicit message from fe80::216:3eff:fe32:2d49 port 546, transaction ID 0x9D08B00
  75. Jul 25 10:22:56 blldhcp01 dhcpd[1489]: Picking pool address 2620:5:e000:201e:0:1:b41e:f2fe
  76. Jul 25 10:22:56 blldhcp01 dhcpd[1489]: Advertise NA: address 2620:5:e000:201e:0:1:b41e:f2fe to client with duid 00:01:00:01:21:0a:2b:43:00:16:3e:32:2d:49 iaid = 1043475785 valid for 2419200 seconds
  77. Jul 25 10:22:56 blldhcp01 dhcpd[1489]: Sending Advertise to fe80::216:3eff:fe32:2d49 port 546
  78. Jul 25 10:22:57 blldhcp01 dhcpd[1489]: Request message from fe80::216:3eff:fe32:2d49 port 546, transaction ID 0x6C757900
  79. Jul 25 10:22:57 blldhcp01 dhcpd[1489]: Reply NA: address 2620:5:e000:201e:0:1:b41e:f2fe to client with duid 00:01:00:01:21:0a:2b:43:00:16:3e:32:2d:49 iaid = 1043475785 valid for 2419200 seconds
  80. Jul 25 10:22:57 blldhcp01 dhcpd[1489]: Sending Reply to fe80::216:3eff:fe32:2d49 port 546
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement