Peter Mittermayer
2024-Dec-17 15:53 UTC
[Samba] FSMO transfer of PDC role creates new SRV record in DNS but does not remove old one
Hi,
AFAIK there should be a single DNS SRV record for PDC role in the domain, e.g.:
_ldap._tcp.pdc._msdcs.adx.mobiltel.bg. 900 IN SRV 0 100 389 dc01.example.com.
When doing a 'samba-tool fsmo transfer --role=pdc' on dc02, the reole is
being transferred and a new DNS record added, but the old one for dc01 is not
removed. Is there anything not working correctly in my setup or does it need to
be removed manually?
Also the dns_update_list does on have a line for adding the new record:
${IF_PDC}SRV _ldap._tcp.pdc._msdcs.${DNSDOMAIN}
${HOSTNAME} 389
br
Luis Peromarta
2024-Dec-17 16:00 UTC
[Samba] FSMO transfer of PDC role creates new SRV record in DNS but does not remove old one
You?re answer is here: http://samba.bigbird.es/doku.php?id=samba:fsmo-roles At the end. "One PdcEmulationMasterRole owner, one dns record" On Dec 17, 2024 at 16:54 +0100, Peter Mittermayer via samba <samba at lists.samba.org>, wrote:> Hi, > > AFAIK there should be a single DNS SRV record for PDC role in the domain, e.g.: > > _ldap._tcp.pdc._msdcs.adx.mobiltel.bg. 900 IN SRV 0 100 389 dc01.example.com. > > When doing a 'samba-tool fsmo transfer --role=pdc' on dc02, the reole is being transferred and a new DNS record added, but the old one for dc01 is not removed. Is there anything not working correctly in my setup or does it need to be removed manually? > > Also the dns_update_list does on have a line for adding the new record: > ${IF_PDC}SRV _ldap._tcp.pdc._msdcs.${DNSDOMAIN} ${HOSTNAME} 389 > > br > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Rowland Penny
2024-Dec-17 16:05 UTC
[Samba] FSMO transfer of PDC role creates new SRV record in DNS but does not remove old one
On Tue, 17 Dec 2024 15:53:34 +0000 Peter Mittermayer via samba <samba at lists.samba.org> wrote:> Hi, > > AFAIK there should be a single DNS SRV record for PDC role in the > domain, e.g.: > > _ldap._tcp.pdc._msdcs.adx.mobiltel.bg. 900 IN SRV 0 100 389 > dc01.example.com. > > When doing a 'samba-tool fsmo transfer --role=pdc' on dc02, the reole > is being transferred and a new DNS record added, but the old one for > dc01 is not removed. Is there anything not working correctly in my > setup or does it need to be removed manually? > > Also the dns_update_list does on have a line for adding the new > record: ${IF_PDC}SRV _ldap._tcp.pdc._msdcs.${DNSDOMAIN} > ${HOSTNAME} 389 > > br >This is a very old bug, see here: https://bugzilla.samba.org/show_bug.cgi?id=14518 Just delete the wrong dns record Rowland
Possibly Parallel Threads
- Moving FSMO roles doesnt affect srv records in DNS ?.
- Moving FSMO roles doesnt affect srv records in DNS ?.
- pdc emulator dns record missing after transferring role
- Unable to "rejoin" existing DC after upgrade (infamous WERR_FILE_NOT_FOUND)
- missing dns records? _ldaps._tcp ?