第4章 Configuring Satellite Server with External Services
If you do not want to configure the DNS, DHCP, and TFTP services on Satellite Server, use this section to configure your Satellite Server to work with external DNS, DHCP and TFTP services.
4.1. Configuring Satellite Server with External DNS リンクのコピーリンクがクリップボードにコピーされました!
You can configure Satellite Server with external DNS. Satellite 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-utilspackage:yum install bind bind-utils
# yum install bind bind-utilsCopy to Clipboard Copied! Toggle word wrap Toggle overflow Copy the
/etc/rndc.keyfile from the external DNS server to Satellite Server:scp root@dns.example.com:/etc/rndc.key /etc/rndc.key
# scp root@dns.example.com:/etc/rndc.key /etc/rndc.keyCopy 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.keyCopy to Clipboard Copied! Toggle word wrap Toggle overflow To test the
nsupdateutility, add a host remotely:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Assign the
foreman-proxyuser to thenamedgroup manually. Normally, satellite-installer ensures that theforeman-proxyuser belongs to thenamedUNIX group, however, in this scenario Satellite does not manage users and groups, therefore you need to assign theforeman-proxyuser to thenamedgroup manually.usermod -a -G named foreman-proxy
# usermod -a -G named foreman-proxyCopy to Clipboard Copied! Toggle word wrap Toggle overflow Enter the
satellite-installercommand to make the following persistent changes to the/etc/foreman-proxy/settings.d/dns.ymlfile:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Restart the foreman-proxy service:
systemctl restart foreman-proxy
# systemctl restart foreman-proxyCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Log in to the Satellite Server web UI.
- Navigate to Infrastructure > Capsules, locate the Satellite Server, and from the list in the Actions column, select Refresh.
- Associate the DNS service with the appropriate subnets and domain.