Line 42: |
Line 42: |
| | | |
| The previous Domain Controller with all the FSMO roles was named vm. It died a sudden death and was not cleanly demoted from the domain. | | The previous Domain Controller with all the FSMO roles was named vm. It died a sudden death and was not cleanly demoted from the domain. |
| + | |
| + | |
| + | === cleaning out the _msdcs record === |
| + | Find the extra entry |
| + | |
| + | |
| + | <pre>samba-tool dns query bob _msdcs.ad.pumpingstationone.org @ ALL |
| + | Name=, Records=2, Children=0 |
| + | SOA: serial=5, refresh=900, retry=600, expire=86400, minttl=0, ns=vm.ad.pumpingstationone.org., email=hostmaster.ad.pumpingstationone.org. (flags=600000f0, serial=5, ttl=3600) |
| + | NS: vm.ad.pumpingstationone.org. (flags=600000f0, serial=1, ttl=900) |
| + | Name=8e76c887-c322-4e20-98df-372fa8801c44, Records=1, Children=0 |
| + | CNAME: vm.ad.pumpingstationone.org. (flags=f0, serial=110, ttl=900) |
| + | Name=dc, Records=0, Children=2 |
| + | Name=domains, Records=0, Children=1 |
| + | Name=e3fac096-8349-4e28-8fda-91d32e6ec7c0, Records=1, Children=0 |
| + | CNAME: bob.ad.pumpingstationone.org. (flags=f0, serial=110, ttl=900) |
| + | Name=gc, Records=0, Children=2 |
| + | </pre> |
| + | |
| + | In this case, the extra record is the one that resolves to vm.ad.pumpingstaitonone.org: 8e76c887-c322-4e20-98df-372fa8801c44 |
| + | |
| + | Delete it: |
| + | samba-tool dns delete bob _msdcs.ad.pumpingstationone.org 8e76c887-c322-4e20-98df-372fa8801c44 CNAME vm.ad.pumpingstationone.org |
| + | |
| + | |
| + | === other records === |