By mathkrautcat
I followed tutorial (https://www.digitalocean.com/community/tutorials/how-to-set-up-centralized-linux-authentication-with-freeipa-on-centos-7) and from FreeIPA repository (https://github.com/freeipa/freeipa-container) but I want to set up BIND name server handling my zone.
What I should do in control panel of DNS? I left only A and MX records.
But when I set up FreeIPA server, I get this.
Checking DNS domain odisharia.ru., please wait ...
DNS zone odisharia.ru. already exists in DNS and is handled by server(s): []
The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
Sending SIGTERM to remaining processes...
Sending SIGKILL to remaining processes...
All filesystems, swaps, loop devices, MD devices and DM devices detached.
Exiting container.
Also I don’t know should I changed my host’s /etc/host file and what should I do put to it?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there,
To set up FreeIPA server running in Docker in DigitalOcean Droplet, you can follow these steps:
Create a new Droplet and select the “Docker” 1-Click App.
Once the droplet is created, SSH into it.
Pull the FreeIPA Docker image:
docker pull freeipa/freeipa-server
docker network create freeipa
docksher run -d --network freeipa -p 8080:8080 -p 443:443 freeipa/freeipa-server
Configure the DNS for your domain. You can use a BIND name server or another DNS server.
Once the DNS is configured, you can create users and groups in FreeIPA.
To set up BIND name server handling your zone, you can follow these steps:
@ IN SOA ns1.example.com. admin.example.com. (
2023091601 ; serial
3600 ; refresh
900 ; retry
604800 ; expire
86400 ; minimum
)
@ IN NS ns1.example.com.
ns1 IN A 192.168.1.1
Save the zone file and restart the BIND name server.
You should now be able to access FreeIPA using the domain name you specified.
To fix the error you are getting, you need to make sure that the DNS server you are using is configured to handle the odisharia.ru. zone. You can do this by adding the odisharia.ru. zone to the DNS server’s configuration file.
You should also make sure that the odisharia.ru. zone is pointed to the IP address of the FreeIPA server. You can do this by editing the /etc/hosts file on your host machine and adding the following line:
192.168.1.10 freeipa.odisharia.ru.
Once you have made these changes, you should be able to set up FreeIPA server without any errors.
For more information I could suggest following the steps from the official documentation for that image here:
I hope this helps!
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.