[Samba] Demoted/removed a DC, and the NS records?
Marco Gaiarin
gaio at sv.lnf.it
Fri Feb 15 11:15:25 UTC 2019
Following:
https://wiki.samba.org/index.php/Demoting_a_Samba_AD_DC
i've demoted and removed a DC. Seems all went as expected:
root at vdcud1:~# samba-tool domain demote --server=vdcsv1.ad.fvg.lnf.it -U gaio
Using vdcsv1.ad.fvg.lnf.it as partner server for the demotion
Password for [LNFFVG\gaio]:
Deactivating inbound replication
Asking partner server vdcsv1.ad.fvg.lnf.it to synchronize from us
Changing userControl and container
Removing Sysvol reference: CN=VDCUD1,CN=Enterprise,CN=Microsoft System Volumes,CN=System,CN=Configuration,DC=ad,DC=fvg,DC=lnf,DC=it
Removing Sysvol reference: CN=VDCUD1,CN=ad.fvg.lnf.it,CN=Microsoft System Volumes,CN=System,CN=Configuration,DC=ad,DC=fvg,DC=lnf,DC=it
Removing Sysvol reference: CN=VDCUD1,CN=Domain System Volumes (SYSVOL share),CN=File Replication Service,CN=System,DC=ad,DC=fvg,DC=lnf,DC=it
Removing Sysvol reference: CN=VDCUD1,CN=Topology,CN=Domain System Volume,CN=DFSR-GlobalSettings,CN=System,DC=ad,DC=fvg,DC=lnf,DC=it
Demote successful
Following the wiki, now i'm cleaning the DNS, because still:
gaio at hermione:~$ dig ns ad.fvg.lnf.it @vdcsv1
; <<>> DiG 9.11.3-1ubuntu1.3-Ubuntu <<>> ns ad.fvg.lnf.it @vdcsv1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29592
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ad.fvg.lnf.it. IN NS
;; ANSWER SECTION:
ad.fvg.lnf.it. 900 IN NS vdcsv2.ad.fvg.lnf.it.
ad.fvg.lnf.it. 900 IN NS vdcud1.ad.fvg.lnf.it.
ad.fvg.lnf.it. 900 IN NS vdcpp1.ad.fvg.lnf.it.
ad.fvg.lnf.it. 900 IN NS vdctms1.ad.fvg.lnf.it.
ad.fvg.lnf.it. 900 IN NS vdcpp2.ad.fvg.lnf.it.
ad.fvg.lnf.it. 900 IN NS vdc3t1.ad.fvg.lnf.it.
ad.fvg.lnf.it. 900 IN NS vdcsv1.ad.fvg.lnf.it.
;; Query time: 0 msec
;; SERVER: 10.5.1.25#53(10.5.1.25)
;; WHEN: Fri Feb 15 12:05:24 CET 2019
;; MSG SIZE rcvd: 190
I've removed some entry (mostly, the GUID alias), but seems there's no
way to remove the NS record (right clinking it, there's no 'remove').
I need to click 'properties' and on the 'name server' tab, remove here?
Thanks.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà , 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
More information about the samba
mailing list