Hi guys, I'm having a struggle with Dynamic DNS updates. When i join a Windows machine to the domain the host name get registered. When I change the IP the A-record gets deleted and nothing more happens. I'm using the internal dns with Samba 4. Any help or advice would be much appreciated. log: Replicated 0 objects (0 linked attributes) for CN=Configuration,DC=corp,DC=lo [2013/02/28 16:29:45, 2] ../source4/rpc_server/dnsserver/dnsdb.c:140(dnsserver_db_enumerate_zones) dnsserver: Found DNS zone 1.168.192.in-addr.arpa [2013/02/28 16:29:45, 2] ../source4/rpc_server/dnsserver/dnsdb.c:140(dnsserver_db_enumerate_zones) dnsserver: Found DNS zone . [2013/02/28 16:29:45, 2] ../source4/rpc_server/dnsserver/dnsdb.c:140(dnsserver_db_enumerate_zones) dnsserver: Found DNS zone corp.lo [2013/02/28 16:29:45, 2] ../source4/rpc_server/dnsserver/dnsdb.c:140(dnsserver_db_enumerate_zones) dnsserver: Found DNS zone _msdcs.corp.lo [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:761(dns_server_process_update) Got a dns update request. [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:718(dns_update_allowed) Update not allowed for unsigned packet. [2013/02/28 16:29:57, 1] ../source4/dns_server/dns_query.c:501(handle_tkey) Tkey handshake completed [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:761(dns_server_process_update) Got a dns update request. [2013/02/28 16:29:57, 1] ../source4/dns_server/dns_update.c:672(handle_updates) update count is 3 [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:395(handle_one_update) Looking at record: [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:396(handle_one_update) [2013/02/28 16:29:57, 1] ../librpc/ndr/ndr.c:245(ndr_print_debug) discard_const(update): struct dns_res_rec name : 'sto-print01.corp.lo' rr_type : DNS_QTYPE_AAAA (0x1C) rr_class : DNS_QCLASS_ANY (0xFF) ttl : 0x00000000 (0) length : 0x0000 (0) rdata : union dns_rdata(case 0x1C) ipv6_record : (null) unexpected : DATA_BLOB length=0 [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:395(handle_one_update) Looking at record: [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:396(handle_one_update) [2013/02/28 16:29:57, 1] ../librpc/ndr/ndr.c:245(ndr_print_debug) discard_const(update): struct dns_res_rec name : 'sto-print01.corp.lo' rr_type : DNS_QTYPE_A (0x1) rr_class : DNS_QCLASS_ANY (0xFF) ttl : 0x00000000 (0) length : 0x0000 (0) rdata : union dns_rdata(case 0x1) ipv4_record : (null) unexpected : DATA_BLOB length=0 [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:395(handle_one_update) Looking at record: [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:396(handle_one_update) [2013/02/28 16:29:57, 1] ../librpc/ndr/ndr.c:245(ndr_print_debug) discard_const(update): struct dns_res_rec name : 'sto-print01.corp.lo' rr_type : DNS_QTYPE_A (0x1) rr_class : DNS_QCLASS_IN (0x1) ttl : 0x000004b0 (1200) length : 0x0004 (4) rdata : union dns_rdata(case 0x1) ipv4_record : 192.168.1.40 unexpected : DATA_BLOB length=0 [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:761(dns_server_process_update) Got a dns update request. [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:718(dns_update_allowed) Update not allowed for unsigned packet. [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:761(dns_server_process_update) Got a dns update request. [2013/02/28 16:29:57, 1] ../source4/dns_server/dns_update.c:672(handle_updates) update count is 3 [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:395(handle_one_update) Looking at record: [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:396(handle_one_update) [2013/02/28 16:29:57, 1] ../librpc/ndr/ndr.c:245(ndr_print_debug) discard_const(update): struct dns_res_rec name : 'sto-print01.corp.lo' rr_type : DNS_QTYPE_AAAA (0x1C) rr_class : DNS_QCLASS_ANY (0xFF) ttl : 0x00000000 (0) length : 0x0000 (0) rdata : union dns_rdata(case 0x1C) ipv6_record : (null) unexpected : DATA_BLOB length=0 [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:395(handle_one_update) Looking at record: [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:396(handle_one_update) [2013/02/28 16:29:57, 1] ../librpc/ndr/ndr.c:245(ndr_print_debug) discard_const(update): struct dns_res_rec name : 'sto-print01.corp.lo' rr_type : DNS_QTYPE_A (0x1) rr_class : DNS_QCLASS_ANY (0xFF) ttl : 0x00000000 (0) length : 0x0000 (0) rdata : union dns_rdata(case 0x1) ipv4_record : (null) unexpected : DATA_BLOB length=0 [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:395(handle_one_update) Looking at record: [2013/02/28 16:29:57, 2] ../source4/dns_server/dns_update.c:396(handle_one_update) [2013/02/28 16:29:57, 1] ../librpc/ndr/ndr.c:245(ndr_print_debug) discard_const(update): struct dns_res_rec name : 'sto-print01.corp.lo' rr_type : DNS_QTYPE_A (0x1) rr_class : DNS_QCLASS_IN (0x1) ttl : 0x000004b0 (1200) length : 0x0004 (4) rdata : union dns_rdata(case 0x1) ipv4_record : 192.168.1.40 unexpected : DATA_BLOB length=0 [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:761(dns_server_process_update) Got a dns update request. [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:718(dns_update_allowed) Update not allowed for unsigned packet. [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:761(dns_server_process_update) Got a dns update request. [2013/02/28 16:30:00, 1] ../source4/dns_server/dns_update.c:672(handle_updates) update count is 3 [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:395(handle_one_update) Looking at record: [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:396(handle_one_update) [2013/02/28 16:30:00, 1] ../librpc/ndr/ndr.c:245(ndr_print_debug) discard_const(update): struct dns_res_rec name : 'sto-print01.corp.lo' rr_type : DNS_QTYPE_AAAA (0x1C) rr_class : DNS_QCLASS_ANY (0xFF) ttl : 0x00000000 (0) length : 0x0000 (0) rdata : union dns_rdata(case 0x1C) ipv6_record : (null) unexpected : DATA_BLOB length=0 [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:395(handle_one_update) Looking at record: [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:396(handle_one_update) [2013/02/28 16:30:00, 1] ../librpc/ndr/ndr.c:245(ndr_print_debug) discard_const(update): struct dns_res_rec name : 'sto-print01.corp.lo' rr_type : DNS_QTYPE_A (0x1) rr_class : DNS_QCLASS_ANY (0xFF) ttl : 0x00000000 (0) length : 0x0000 (0) rdata : union dns_rdata(case 0x1) ipv4_record : (null) unexpected : DATA_BLOB length=0 [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:395(handle_one_update) Looking at record: [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:396(handle_one_update) [2013/02/28 16:30:00, 1] ../librpc/ndr/ndr.c:245(ndr_print_debug) discard_const(update): struct dns_res_rec name : 'sto-print01.corp.lo' rr_type : DNS_QTYPE_A (0x1) rr_class : DNS_QCLASS_IN (0x1) ttl : 0x000004b0 (1200) length : 0x0004 (4) rdata : union dns_rdata(case 0x1) ipv4_record : 192.168.1.40 unexpected : DATA_BLOB length=0 [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:761(dns_server_process_update) Got a dns update request. [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:718(dns_update_allowed) Update not allowed for unsigned packet. [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:761(dns_server_process_update) Got a dns update request. [2013/02/28 16:30:00, 1] ../source4/dns_server/dns_update.c:672(handle_updates) update count is 3 [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:395(handle_one_update) Looking at record: [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:396(handle_one_update) [2013/02/28 16:30:00, 1] ../librpc/ndr/ndr.c:245(ndr_print_debug) discard_const(update): struct dns_res_rec name : 'sto-print01.corp.lo' rr_type : DNS_QTYPE_AAAA (0x1C) rr_class : DNS_QCLASS_ANY (0xFF) ttl : 0x00000000 (0) length : 0x0000 (0) rdata : union dns_rdata(case 0x1C) ipv6_record : (null) unexpected : DATA_BLOB length=0 [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:395(handle_one_update) Looking at record: [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:396(handle_one_update) [2013/02/28 16:30:00, 1] ../librpc/ndr/ndr.c:245(ndr_print_debug) discard_const(update): struct dns_res_rec name : 'sto-print01.corp.lo' rr_type : DNS_QTYPE_A (0x1) rr_class : DNS_QCLASS_ANY (0xFF) ttl : 0x00000000 (0) length : 0x0000 (0) rdata : union dns_rdata(case 0x1) ipv4_record : (null) unexpected : DATA_BLOB length=0 [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:395(handle_one_update) Looking at record: [2013/02/28 16:30:00, 2] ../source4/dns_server/dns_update.c:396(handle_one_update) [2013/02/28 16:30:00, 1] ../librpc/ndr/ndr.c:245(ndr_print_debug) discard_const(update): struct dns_res_rec name : 'sto-print01.corp.lo' rr_type : DNS_QTYPE_A (0x1) rr_class : DNS_QCLASS_IN (0x1) ttl : 0x000004b0 (1200) length : 0x0004 (4) rdata : union dns_rdata(case 0x1) ipv4_record : 192.168.1.40 unexpected : DATA_BLOB length=0 x[2013/02/28 16:32:24, 2] ../source4/rpc_server/dnsserver/dnsdb.c:140(dnsserver_db_enumerate_zones) dnsserver: Found DNS zone 1.168.192.in-addr.arpa [2013/02/28 16:32:24, 2] ../source4/rpc_server/dnsserver/dnsdb.c:140(dnsserver_db_enumerate_zones) dnsserver: Found DNS zone . [2013/02/28 16:32:24, 2] ../source4/rpc_server/dnsserver/dnsdb.c:140(dnsserver_db_enumerate_zones) dnsserver: Found DNS zone corp.lo [2013/02/28 16:32:24, 2] ../source4/rpc_server/dnsserver/dnsdb.c:140(dnsserver_db_enumerate_zones) dnsserver: Found DNS zone _msdcs.corp.lo -- Best regards Johan Johansson Director Phone: 0704-745209 Email: johan@ <johan at capishe.se>baboons.se