Web lists-archives.com

[Samba] DNS replication only working one way




I'm hoping this is the last issue I run into with bringing this new DC
online.

DNS replication is currently only working in one direction, from my old DC
to my new DC.  Items added or changed in the RSAT of my new DC don't ever
make it over to the old DC.

I have turned up samba logging on each side to 3, and you can see the logs
below from the time I created a record on the new DC (around 13:39:17)

Here are the logs for when I create a new A record on the NEW DC

OLD DC (I believe d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com
refers to a DC which no longer exists in the domain)

[2017/12/12 13:39:00.724602,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:39:00.744447,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:39:00.747716,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:39:00.765404,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:39:04.492703,  3]
../source4/smbd/service_stream.c:65(stream_terminate_connection)
  Terminating connection - 'dcesrv: NT_STATUS_CONNECTION_DISCONNECTED'
[2017/12/12 13:39:04.492749,  3]
../source4/smbd/process_single.c:114(single_terminate)
  single_terminate: reason[dcesrv: NT_STATUS_CONNECTION_DISCONNECTED]
[2017/12/12 13:39:05.731434,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:39:05.751871,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:39:05.754723,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:39:05.771908,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:39:10.739651,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:39:10.757857,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:39:10.760463,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:39:10.777281,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:39:15.746169,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:39:15.765300,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:39:15.768687,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:39:15.786628,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:39:16.464003,  2]
../source4/dsdb/kcc/kcc_periodic.c:710(kccsrv_samba_kcc)
  Calling samba_kcc script
[2017/12/12 13:39:16.814162,  3]
../lib/util/util_runcmd.c:291(samba_runcmd_io_handler)
  samba_runcmd_io_handler: Child /usr/sbin/samba_kcc exited 0
[2017/12/12 13:39:16.814240,  3]
../source4/dsdb/kcc/kcc_periodic.c:695(samba_kcc_done)
  Completed samba_kcc OK
[2017/12/12 13:39:18.871343,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:39:18.889975,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:39:18.893312,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:39:18.910699,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:39:18.925623,  2]
../source4/dsdb/repl/replicated_objects.c:1020(dsdb_replicated_objects_commit)
  Replicated 0 objects (0 linked attributes) for DC=tcsbasys,DC=com
[2017/12/12 13:39:18.968072,  2]
../source4/dsdb/repl/replicated_objects.c:1020(dsdb_replicated_objects_commit)
  Replicated 0 objects (0 linked attributes) for
CN=Configuration,DC=tcsbasys,DC=com
[2017/12/12 13:39:19.004740,  2]
../source4/dsdb/repl/replicated_objects.c:1020(dsdb_replicated_objects_commit)
  Replicated 0 objects (0 linked attributes) for
CN=Schema,CN=Configuration,DC=tcsbasys,DC=com
[2017/12/12 13:39:20.749662,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:39:20.769219,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:39:20.773367,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:39:20.791300,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A


New DC -

[2017/12/12 13:39:13.237088,  3]
../source4/smbd/service_stream.c:65(stream_terminate_connection)
  Terminating connection - 'ntp_signd_call_loop:
tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED'
[2017/12/12 13:39:13.237170,  3]
../source4/smbd/process_single.c:114(single_terminate)
  single_terminate: reason[ntp_signd_call_loop:
tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED]
[2017/12/12 13:39:18.953450,  2]
../source4/rpc_server/drsuapi/getncchanges.c:1731(getncchanges_collect_objects)
  ../source4/rpc_server/drsuapi/getncchanges.c:1731: getncchanges on
DC=tcsbasys,DC=com using filter (uSNChanged>=8039)
[2017/12/12 13:39:18.959924,  3]
../source4/rpc_server/drsuapi/getncchanges.c:2822(dcesrv_drsuapi_DsGetNCChanges)
  UpdateRefs on getncchanges for 7da1efbb-3b68-4249-ab03-e09c3ffc0d1a
[2017/12/12 13:39:18.960295,  2]
../source4/rpc_server/drsuapi/getncchanges.c:3006(dcesrv_drsuapi_DsGetNCChanges)
  DsGetNCChanges with uSNChanged >= 8038 flags 0x80000074 on
<GUID=ddae8115-4406-4fed-875e-ed7f6cefbb65>;<SID=S-1-5-21-2360315722-3846793618-1593657947>;DC=tcsbasys,DC=com
gave 0 objects (done 0/0) 0 links (done 0/0 (as
S-1-5-21-2360315722-3846793618-1593657947-1105))
[2017/12/12 13:39:18.985306,  2]
../source4/rpc_server/drsuapi/getncchanges.c:1731(getncchanges_collect_objects)
  ../source4/rpc_server/drsuapi/getncchanges.c:1731: getncchanges on
CN=Configuration,DC=tcsbasys,DC=com using filter (uSNChanged>=8039)
[2017/12/12 13:39:19.002104,  3]
../source4/rpc_server/drsuapi/getncchanges.c:2822(dcesrv_drsuapi_DsGetNCChanges)
  UpdateRefs on getncchanges for 7da1efbb-3b68-4249-ab03-e09c3ffc0d1a
[2017/12/12 13:39:19.002535,  2]
../source4/rpc_server/drsuapi/getncchanges.c:3006(dcesrv_drsuapi_DsGetNCChanges)
  DsGetNCChanges with uSNChanged >= 8038 flags 0x80000064 on
<GUID=56b75af7-5a2a-460f-9c18-bef84d0b086a>;CN=Configuration,DC=tcsbasys,DC=com
gave 0 objects (done 0/0) 0 links (done 0/0 (as
S-1-5-21-2360315722-3846793618-1593657947-1105))
[2017/12/12 13:39:19.021209,  2]
../source4/rpc_server/drsuapi/getncchanges.c:1731(getncchanges_collect_objects)
  ../source4/rpc_server/drsuapi/getncchanges.c:1731: getncchanges on
CN=Schema,CN=Configuration,DC=tcsbasys,DC=com using filter
(uSNChanged>=8039)
[2017/12/12 13:39:19.038957,  3]
../source4/rpc_server/drsuapi/getncchanges.c:2822(dcesrv_drsuapi_DsGetNCChanges)
  UpdateRefs on getncchanges for 7da1efbb-3b68-4249-ab03-e09c3ffc0d1a
[2017/12/12 13:39:19.039346,  2]
../source4/rpc_server/drsuapi/getncchanges.c:3006(dcesrv_drsuapi_DsGetNCChanges)
  DsGetNCChanges with uSNChanged >= 8038 flags 0x80000064 on
<GUID=50769b16-dd1a-4fb8-b31d-c2cf29d0a54e>;CN=Schema,CN=Configuration,DC=tcsbasys,DC=com
gave 0 objects (done 0/0) 0 links (done 0/0 (as
S-1-5-21-2360315722-3846793618-1593657947-1105))

And here are the logs when I create a new A record on the OLD DC -

Old DC -

[2017/12/12 13:52:01.724819,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:52:01.744410,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:52:01.747069,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:52:01.763610,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:52:06.729225,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:52:06.748404,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:52:06.751639,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:52:06.769418,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:52:11.734705,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:52:11.754899,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:52:11.758165,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:52:11.776526,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:52:12.785643,  2]
../source4/rpc_server/drsuapi/getncchanges.c:1731(getncchanges_collect_objects)
  ../source4/rpc_server/drsuapi/getncchanges.c:1731: getncchanges on
DC=DomainDnsZones,DC=tcsbasys,DC=com using filter (uSNChanged>=18067)
[2017/12/12 13:52:12.818766,  3]
../source4/rpc_server/drsuapi/getncchanges.c:2822(dcesrv_drsuapi_DsGetNCChanges)
  UpdateRefs on getncchanges for 0d5ebcac-88d7-44fb-a830-ec3eacb6757f
[2017/12/12 13:52:12.819150,  2]
../source4/rpc_server/drsuapi/getncchanges.c:3006(dcesrv_drsuapi_DsGetNCChanges)
  DsGetNCChanges with uSNChanged >= 18067 flags 0x80000074 on
<GUID=d41a157a-d366-4f09-9fb1-501e5397c8c3>;DC=DomainDnsZones,DC=tcsbasys,DC=com
gave 2 objects (done 2/2) 0 links (done 0/0 (as
S-1-5-21-2360315722-3846793618-1593657947-1615))
[2017/12/12 13:52:16.739713,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:52:16.760146,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A
[2017/12/12 13:52:16.763364,  3]
../libcli/nbt/lmhosts.c:184(resolve_lmhosts_file_as_sockaddr)
  resolve_lmhosts: Attempting lmhosts lookup for name
d8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._msdcs.tcsbasys.com<0x20>
[2017/12/12 13:52:16.779882,  3]
../source4/libcli/resolve/dns_ex.c:493(pipe_handler)
  dns child failed to find name 'd8d2fe1e-c14c-4dcb-98b6-b6c974a49d99._
msdcs.tcsbasys.com' of type A


New DC -

[2017/12/12 13:52:11.791693,  3]
../source4/dsdb/repl/drepl_service.c:206(_drepl_schedule_replication)
  _drepl_schedule_replication: forcing sync of partition
(d41a157a-d366-4f09-9fb1-501e5397c8c3,
DC=DomainDnsZones,DC=tcsbasys,DC=com, 7da1efbb-3b68-4249-ab03-e09c3ffc0d1a._
msdcs.tcsbasys.com)
[2017/12/12 13:52:12.832584,  3]
../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:5742(replmd_replicated_apply_merge)
  Discarding older DRS attribute update to dnsRecord on
DC=@,DC=tcsbasys.com,CN=MicrosoftDNS,DC=DomainDnsZones,DC=tcsbasys,DC=com
from 0ad49173-738a-4a8d-b3e8-a767bb0f4599
[2017/12/12 13:52:12.895732,  2]
../source4/dsdb/repl/replicated_objects.c:1020(dsdb_replicated_objects_commit)
  Replicated 2 objects (0 linked attributes) for
DC=DomainDnsZones,DC=tcsbasys,DC=com


Thanks in advance for any assistance you might be able to provide!

-- 
*Taylor Hammerling* |  *IT Manager*
2800 Laura Lane | Middleton, WI 53562
*O *(608) 669-9070 *| C *(608) 512-7849
tcsbasys.com | ubiquistat.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba