Zentyal Forum, Linux Small Business Server
Zentyal Server => Directory and Authentication => Topic started by: Kerni on May 02, 2023, 11:55:07 am
-
I have a DC contoller on Zentyal 7.
There I have 2 networks:
192.168.1.2 (192.168.1.0/24 - access for users)
10.1.1.2 (10.1.1.0/24 - config network.)
When the host trying to get access to DC (dns request, login credentials) its take a long time. I guess it is because he is trying to contact with address 10.1.1.2 instead of 192.168.1.2.
nslookup say:
nslookup dc1
Server: dc1.test.local
Address: 192.168.1.2
Name: dc1.test.local
Addresses: 10.1.1.2
192.168.1.2
Ho can I remove addres 10.1.1.2 from DNS. I tried do it via www interface DNS->Domains->Domain IP Address but it doesn't work.
-
You can delete any record using samba-tool command as the below link explains:
* https://wiki.samba.org/index.php/DNS_Administration#Delete_a_record
An example:
sudo samba-tool dns delete 127.0.0.1 test.local dc01 A 10.1.1.2 -U administrator
--
“This world is ours, and by the Holy Light we will keep it safe, now and forever".
-
Thank you for replay.
I tried to do as you suggest.
After command:
sudo samba-tool dns delete [...]
comannd nslookup show only 1 address.
In a strange way, the old setting came back in dozen minutes or direct after reboot the serwer.
Than I have again two addresses after nslookup command.
Any suggest to save this settings pernamently?