itproject
Goto Top

Dynamic Update Bind9(DNS) with DHCP3

Hallo zusammen,

habe einen DNS Server (Bind9) aufgesetzt. Möchte nun natürlich nicht alle DNS Einträge manuell vornehmen.
Es läuft ein DHCP3, welcher zukünftig dynamisch neue DNS Records ( A und PTR) in meine Zonefiles einträgt.

zum Testen habe ich folgendes ausgeführt:

root@ldap1:~# nsupdate -d
> server localhost
> key dhcpupdate vGyZaCncrUsL4UmggHF5+Q==
> zone mylocaldomain.ds
> update add host.mylocaldomain.ds. 600 IN A 192.168.1.208
> send
Sending update to 127.0.0.1#53
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id:  26446
;; flags: ; ZONE: 1, PREREQ: 0, UPDATE: 1, ADDITIONAL: 1
;; ZONE SECTION:
;mylocaldomain.ds.			IN	SOA

;; UPDATE SECTION:
host.mylocaldomain.ds.	600	IN	A	192.168.1.208

;; TSIG PSEUDOSECTION:
dhcpupdate.		0	ANY	TSIG	hmac-md5.sig-alg.reg.int. 1329398598 300 16 pc82b9x3EfVgKCptvcYEQA== 26446 NOERROR 0 

; TSIG error with server: tsig indicates error

Reply from update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOTAUTH, id:  26446
;; flags: qr ra ; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 1
;; TSIG PSEUDOSECTION:
dhcpupdate.		0	ANY	TSIG	hmac-md5.sig-alg.reg.int. 1329398598 300 0  26446 BADKEY 0

key ist natürlich ein anderer als im BSP face-smile

Die Frage ist, was hier der Fehler ist .. stimmt was nicht mit dem Keyfile . .bzw ist der key Falsch???

Habe mich bei der Konfiguration auf http://www.semicomplete.com/articles/dynamic-dns-with-dhcp/ bezogen.

Vielen Dank für eure Hilfe

Grüße itproject

Content-Key: 180641

Url: https://administrator.de/contentid/180641

Printed on: April 25, 2024 at 13:04 o'clock