samba-tool dns add 172.31.9.183 w2012r2-l4.base mydns NS mydns.org. should result in: dnsRecord: NDR: struct dnsp_DnssrvRpcRecord wDataLength : 0x000d (13) wType : DNS_TYPE_NS (2) version : 0x05 (5) rank : DNS_RANK_NS_GLUE (130) flags : 0x0000 (0) dwSerial : 0x00000028 (40) dwTtlSeconds : 0x00000384 (900) dwReserved : 0x00000000 (0) dwTimeStamp : 0x00000000 (0) data : union dnsRecordData(case 2) ns : mydns.org But against samba it will be: dnsRecord: NDR: struct dnsp_DnssrvRpcRecord wDataLength : 0x000d (13) wType : DNS_TYPE_NS (2) version : 0x05 (5) rank : DNS_RANK_ZONE (240) flags : 0x0000 (0) dwSerial : 0x00000009 (9) dwTtlSeconds : 0x00000384 (900) dwReserved : 0x00000000 (0) dwTimeStamp : 0x0037515b (3625307) data : union dnsRecordData(case 2) ns : mydns.org There's also a difference in dwTimeStamp.
Created attachment 10205 [details] Patches to rpc dnsserver
Created attachment 10254 [details] Patches for v4-1-test
(In reply to comment #2) > Created attachment 10254 [details] > Patches for v4-1-test Karolin, please add cherry-pick information for 0b4a3b76111411e8969932a3da4ffab989e0da4c s4-rpc: dnsserver: return DNS_RANK_NS_GLUE recors when explicitly asked for
Pushed to autobuild-v4-1-test.
Pushed to v4-1-test (included in 4.1.12). Closing out bug report. Thanks!