Line 77: |
Line 77: |
| I had a lot of stale entries, as ip address have changed before. | | I had a lot of stale entries, as ip address have changed before. |
| | | |
− | === _tcp.gc recprds === | + | === _tcp.gc records === |
| | | |
| samba-tool dns query bob _msdcs.ad.pumpingstationone.org _tcp.gc ALL | | samba-tool dns query bob _msdcs.ad.pumpingstationone.org _tcp.gc ALL |
Line 84: |
Line 84: |
| | | |
| samba-tool dns delete bob _msdcs.ad.pumpingstationone.org _ldap._tcp.gc SRV 'vm.ad.pumpingstationone.org. 3268 0 100' | | samba-tool dns delete bob _msdcs.ad.pumpingstationone.org _ldap._tcp.gc SRV 'vm.ad.pumpingstationone.org. 3268 0 100' |
− |
| |
| | | |
| === _tcp.dc records === | | === _tcp.dc records === |
Line 122: |
Line 121: |
| samba-tool dns delete bob ad.pumpingstationone.org _kerberos._udp SRV 'vm.ad.pumpingstationone.org. 88 0 100' | | samba-tool dns delete bob ad.pumpingstationone.org _kerberos._udp SRV 'vm.ad.pumpingstationone.org. 88 0 100' |
| samba-tool dns delete bob ad.pumpingstationone.org _kpasswd._udp SRV 'vm.ad.pumpingstationone.org. 464 0 100' | | samba-tool dns delete bob ad.pumpingstationone.org _kpasswd._udp SRV 'vm.ad.pumpingstationone.org. 464 0 100' |
| + | |
| + | |
| + | === _tcp.Default-First-Site-Name._sites records === |
| + | |
| + | samba-tool dns query bob ad.pumpingstationone.org _tcp.Default-First-Site-Name._sites ALL |
| + | |
| + | delete extra _kerberos, _ldap, and _gc records |
| + | |
| + | samba-tool dns delete bob ad.pumpingstationone.org _kerberos._tcp.Default-First-Site-Name._sites SRV 'vm.ad.pumpingstationone.org. 88 0 100' |
| + | samba-tool dns delete bob ad.pumpingstationone.org _ldap._tcp.Default-First-Site-Name._sites SRV 'vm.ad.pumpingstationone.org. 389 0 100' |
| + | samba-tool dns delete bob ad.pumpingstationone.org _gc._tcp.Default-First-Site-Name._sites SRV 'vm.ad.pumpingstationone.org. 3268 0 100' |
| + | |
| + | === _tcp.b83beba7-1a4b-4801-a2bd-8ee8ea0eb626.domains records === |
| + | |
| + | |
| + | find the domain guid: |
| + | |
| + | samba-tool dns query bob _msdcs.ad.pumpingstationone.org domains ALL |
| + | |
| + | In my case it was <code>Name=b83beba7-1a4b-4801-a2bd-8ee8ea0eb626, Records=0, Children=1</code> |
| + | |
| + | samba-tool dns query bob _msdcs.ad.pumpingstationone.org _tcp.b83beba7-1a4b-4801-a2bd-8ee8ea0eb626.domains ALL |
| + | |
| + | delete the _ldap record |
| + | |
| + | samba-tool dns delete bob _msdcs.ad.pumpingstationone.org _ldap._tcp.b83beba7-1a4b-4801-a2bd-8ee8ea0eb626.domains SRV 'vm.ad.pumpingstationone.org. 389 0 100' |
| + | |
| + | === _tcp.Default-First-Site-Name._sites.gc === |
| + | |
| + | samba-tool dns query bob _msdcs.ad.pumpingstationone.org _tcp.Default-First-Site-Name._sites.gc ALL |
| + | |
| + | delete extra _ldap records |
| + | |
| + | samba-tool dns delete bob _msdcs.ad.pumpingstationone.org _ldap._tcp.Default-First-Site-Name._sites.gc SRV 'vm.ad.pumpingstationone.org. 3268 0 100' |
| + | |
| + | === _tcp.Default-First-Site-Name._sites.dc === |
| + | |
| + | samba-tool dns query bob _msdcs.ad.pumpingstationone.org _tcp.Default-First-Site-Name._sites.dc ALL |
| + | |
| + | delete extra _kerberos and _ldap records |
| + | |
| + | samba-tool dns delete bob _msdcs.ad.pumpingstationone.org _kerberos._tcp.Default-First-Site-Name._sites.dc SRV 'vm.ad.pumpingstationone.org. 88 0 100' |
| + | samba-tool dns delete bob _msdcs.ad.pumpingstationone.org _ldap._tcp.Default-First-Site-Name._sites.dc SRV 'vm.ad.pumpingstationone.org. 389 0 100' |
| + | |
| + | === More stale entries === |
| + | |
| + | The primary problem has been resolved, but I am going to document stale entries left behind |
| + | * CN=NTDS Settings,CN=VM,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ad,DC=pumpingstationone,DC=org |
| + | ** Removing this entry removed the box from the replication pool in <code> samba-tool drs showrepl</code> |