第4章 Configuring Capsule Server with External Services
If you do not want to configure the DNS, DHCP, and TFTP services on Capsule Server, use this section to configure your Capsule Server to work with external DNS, DHCP and TFTP services.
4.1. Configuring Capsule Server with External DNS リンクのコピーリンクがクリップボードにコピーされました!
You can configure Capsule Server with external DNS. Capsule Server uses the nsupdate
utility to update DNS records on the remote server.
To make any changes persistent, you must enter the satellite-installer
command with the options appropriate for your environment.
Prerequisites
- You must have a configured external DNS server.
Procedure
Install the
bind-utils
package:yum install bind bind-utils
# yum install bind bind-utils
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Copy the
/etc/rndc.key
file from the external DNS server to Capsule Server:scp root@dns.example.com:/etc/rndc.key /etc/rndc.key
# scp root@dns.example.com:/etc/rndc.key /etc/rndc.key
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Configure the ownership, permissions, and SELinux context:
restorecon -v /etc/rndc.key chown -v root:named /etc/rndc.key chmod -v 640 /etc/rndc.key
# restorecon -v /etc/rndc.key # chown -v root:named /etc/rndc.key # chmod -v 640 /etc/rndc.key
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To test the
nsupdate
utility, add a host remotely:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Assign the
foreman-proxy
user to thenamed
group manually. Normally, satellite-installer ensures that theforeman-proxy
user belongs to thenamed
UNIX group, however, in this scenario Satellite does not manage users and groups, therefore you need to assign theforeman-proxy
user to thenamed
group manually.usermod -a -G named foreman-proxy
# usermod -a -G named foreman-proxy
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Enter the
satellite-installer
command to make the following persistent changes to the/etc/foreman-proxy/settings.d/dns.yml
file:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Restart the foreman-proxy service:
systemctl restart foreman-proxy
# systemctl restart foreman-proxy
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Log in to the Satellite Server web UI.
- Navigate to Infrastructure > Capsules, locate the Capsule Server, and from the list in the Actions column, select Refresh.
- Associate the DNS service with the appropriate subnets and domain.