DHCPv6 pusht DDNS niet

Pagina: 1
Acties:

  • harry1001
  • Registratie: Januari 2005
  • Niet online
Al enige tijd ben ik bezig om DHCPv6 uit te rollen bij wijze van (gedeeltelijke) vervanging van radvd, dat is om tegelijk met adresallocatie ook DNS-entries te kunnen genereren. Al dit leuks moet draaien om een al functionerende alix met FreeBSD. Tot zover geen probleem; DNS entries worden door DHCPv4 keurig aangemaakt in BIND.

DHCPv6 aan de andere kant is een heel ander verhaal; adresallocatie verloopt vlekkeloos (inclusief "statische" leases) maar de DDNS updates lijken niet gepusht te worden naar de DNS. Ik heb al verschillende dingen geprobeerd om de configuratie te vereenvoudigen en een update van de in de ports aanwezige versie (4.1.2p1) naar de nieuwste versie (4.2.2) van isc.org. Zonder resultaat. De gebruikte dhcpd6.conf:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# dhcpd6.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "local";

default-lease-time 600;
max-lease-time 7200;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

# ad-hoc DNS update scheme - set to "none" to disable dynamic DNS updates.
ddns-update-style interim;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

key dhcpupdate6 {
  algorithm hmac-md5;
  secret ****;
}

zone local. {
  primary 10.12.12.131;
  key dhcpupdate6;
}

allow client-updates;
update-static-leases on;

subnet6 x:x:x:x::/64 {
  range6 x:x:x:x::10 x:x:x:x::ffff;
  option dhcp6.name-servers fe80::20d:b9ff:fe16:3454, 2001:470:20::2;
  option dhcp6.domain-search "local";
  option server.ddns-domainname = "local";

    ## NOTT WIRED ##
    host nott.wired {
#     host-identifier option dhcp6.client-id "nott.wired";
#     hardware ethernet 00:22:41:2e:4b:93;
      host-identifier option dhcp6.client-id 00:01:00:01:15:da:8a:72:00:22:41:2e:4b:93;
      ddns-hostame = "nott";
#        ddns-domain-name = "local";
#     fixed-address6 x:x:x:x::238;
    }

}


bij het draaien van dhcpv6 geeft dit de volgende output (verbose in debug-mode):

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Internet Systems Consortium DHCP Server 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
WARNING: Host declarations are global.  They are not limited to the scope you declared them in.
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Bound to *:547
Listening on Socket/5/vr0/x:x:x:x::/64
Sending on   Socket/5/vr0/x:x:x:x::/64
Solicit message from fe80::222:41ff:fe2e:4b93 port 546, transaction ID 0x100E3100
Sending Advertise to fe80::222:41ff:fe2e:4b93 port 546
Request message from fe80::222:41ff:fe2e:4b93 port 546, transaction ID 0x676B8800
Sending Reply to fe80::222:41ff:fe2e:4b93 port 546
Renew message from fe80::222:41ff:fe2e:4b93 port 546, transaction ID 0xCC052B00
Sending Reply to fe80::222:41ff:fe2e:4b93 port 546


Hierin vindt dus geen DDNS push plaats en ook bij BIND blijft het vervolgens stil (dúh). Toch een snipper van DHCPv4: DDNS werkt wel met een vrijwel identieke config (key heeft een andere naam; functioneren van de key is gecontroleerd met handmatige push dmv nsupdate). RDNS is hierin nog niet geconfigureerd, net als slordigheid in het toewijzen van statische en dynamische ranges: Please ignore.

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Internet Systems Consortium DHCP Server 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
WARNING: Host declarations are global.  They are not limited to the scope you declared them in.
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on BPF/vr0/00:0d:b9:16:34:54/10.12.12.0/24
Sending on   BPF/vr0/00:0d:b9:16:34:54/10.12.12.0/24
Sending on   Socket/fallback/fallback-net
Dynamic and static leases present for 10.12.12.7.
Remove host declaration nott.wired or remove 10.12.12.7
from the dynamic address pool for 10.12.12.0/24
DHCPREQUEST for 10.12.12.7 from 00:22:41:2e:4b:93 via vr0
DHCPACK on 10.12.12.7 to 00:22:41:2e:4b:93 via vr0
Added new forward map from nott.local to 10.12.12.7
Unable to add reverse map from 7.12.12.10.in-addr.arpa. to nott.local: not found


code:
1
2
3
4
15-Aug-2011 12:26:44.148 client 10.12.12.131#35234: updating zone 'local/IN': update unsuccessful: nott.local: 'name not in use' prerequisite not satisfied (YXDOMAIN)
15-Aug-2011 12:26:44.150 client 10.12.12.131#35234: signer "dhcpupdate" approved
15-Aug-2011 12:26:44.151 client 10.12.12.131#35234: updating zone 'local/IN': deleting rrset at 'nott.local' A
15-Aug-2011 12:26:44.151 client 10.12.12.131#35234: updating zone 'local/IN': adding an RR at 'nott.local' A


Zelf denk ik dat ik alles wel geprobeerd heb, maar een frisse blik zou zomaar eens kunnen helpen. Bij voorbaat dank aan iedereen die hier even naar wil kijken!

Verwijderd

edit: Ik moet beter lezen, sorry :$

[ Voor 87% gewijzigd door Verwijderd op 15-08-2011 23:33 ]