Using Infoblox as DHCP and DNS providers
You can use orcharhino Proxy to connect to your Infoblox application to create and manage DHCP and DNS records, and to reserve IP addresses.
The supported Infoblox version is NIOS 8.0 or higher.
Infoblox limitations
All DHCP and DNS records can be managed only in a single Network or DNS view.
After you install the Infoblox modules on orcharhino Proxy and set up the view using the orcharhino-installer
command, you cannot edit the view.
orcharhino Proxy communicates with a single Infoblox node using the standard HTTPS web API. If you want to configure clustering and High Availability, make the configurations in Infoblox.
Hosting PXE-related files using Infoblox’s TFTP functionality is not supported. You must use orcharhino Proxy as a TFTP server for PXE provisioning. For more information, see Configuring Networking.
orcharhino IPAM feature cannot be integrated with Infoblox.
Infoblox prerequisites
-
You must have Infoblox account credentials to manage DHCP and DNS entries in orcharhino.
-
Ensure that you have Infoblox administration roles with the names:
DHCP Admin
andDNS Admin
. -
The administration roles must have permissions or belong to an admin group that permits the accounts to perform tasks through the Infoblox API.
Installing the Infoblox CA certificate on orcharhino Proxy
You must install Infoblox HTTPS CA certificate on the base system for all orcharhino Proxies that you want to integrate with Infoblox applications.
You can download the certificate from the Infoblox web UI, or you can use the following OpenSSL commands to download the certificate:
$ update-ca-trust enable
$ openssl s_client -showcerts -connect infoblox.example.com:443 </dev/null | \
openssl x509 -text >/etc/pki/ca-trust/source/anchors/infoblox.crt
$ update-ca-trust extract
-
The
infoblox.example.com
entry must match the host name for the Infoblox application in the X509 certificate.
To test the CA certificate, use a CURL query:
$ curl -u admin:password https://infoblox.example.com/wapi/v2.0/network
Example positive response:
[
{
"_ref": "network/ZG5zLm5ldHdvcmskMTkyLjE2OC4yMDIuMC8yNC8w:infoblox.example.com/24/default",
"network": "192.168.202.0/24",
"network_view": "default"
}
]
Installing the DHCP Infoblox module
Use this procedure to install the DHCP Infoblox module on orcharhino Proxy. Note that you cannot manage records in separate views.
You can also install DHCP and DNS Infoblox modules simultaneously by combining this procedure and Installing the DNS Infoblox Module.
If you want to use the DHCP and DNS Infoblox modules together, configure the DHCP Infoblox module with the fixedaddress
record type only.
The host
record type causes DNS conflicts and is not supported.
If you configure the DHCP Infoblox module with the host
record type, you have to unset both DNS orcharhino Proxy and Reverse DNS orcharhino Proxy options on your Infoblox-managed subnets, because Infoblox does DNS management by itself.
Using the host
record type leads to creating conflicts and being unable to rename hosts in orcharhino.
-
On orcharhino Proxy, enter the following command:
$ orcharhino-installer --enable-foreman-proxy-plugin-dhcp-infoblox \ --foreman-proxy-dhcp true \ --foreman-proxy-dhcp-provider infoblox \ --foreman-proxy-dhcp-server infoblox.example.com \ --foreman-proxy-plugin-dhcp-infoblox-username admin \ --foreman-proxy-plugin-dhcp-infoblox-password infoblox \ --foreman-proxy-plugin-dhcp-infoblox-record-type fixedaddress \ --foreman-proxy-plugin-dhcp-infoblox-dns-view default \ --foreman-proxy-plugin-dhcp-infoblox-network-view default
-
Optional: In the orcharhino management UI, navigate to Infrastructure > orcharhino Proxies, select the orcharhino Proxy with the DHCP Infoblox module, and ensure that the dhcp feature is listed.
-
In the orcharhino management UI, navigate to Infrastructure > Subnets.
-
For all subnets managed through Infoblox, ensure that the IP address management (IPAM) method of the subnet is set to
DHCP
.
Installing the DNS Infoblox module
Use this procedure to install the DNS Infoblox module on orcharhino Proxy. You can also install DHCP and DNS Infoblox modules simultaneously by combining this procedure and Installing the DHCP Infoblox Module.
-
On orcharhino Proxy, enter the following command to configure the Infoblox module:
$ orcharhino-installer --enable-foreman-proxy-plugin-dns-infoblox \ --foreman-proxy-dns true \ --foreman-proxy-dns-provider infoblox \ --foreman-proxy-plugin-dns-infoblox-dns-server infoblox.example.com \ --foreman-proxy-plugin-dns-infoblox-username admin \ --foreman-proxy-plugin-dns-infoblox-password infoblox \ --foreman-proxy-plugin-dns-infoblox-dns-view default
Optionally, you can change the value of the
--foreman-proxy-plugin-dns-infoblox-dns-view
option to specify an Infoblox DNS view other than the default view. -
Optional: In the orcharhino management UI, navigate to Infrastructure > orcharhino Proxies, select the orcharhino Proxy with the Infoblox DNS module, and ensure that the dns feature is listed.
-
In the orcharhino management UI, navigate to Infrastructure > Domains.
-
For all domains managed through Infoblox, ensure that the DNS Proxy is set for those domains.
-
In the orcharhino management UI, navigate to Infrastructure > Subnets.
-
For all subnets managed through Infoblox, ensure that the DNS orcharhino Proxy and Reverse DNS orcharhino Proxy are set for those subnets.
The text and illustrations on this page are licensed by ATIX AG under a Creative Commons Attribution Share Alike 4.0 International ("CC BY-SA 4.0") license. This page also contains text from the official Foreman documentation which uses the same license ("CC BY-SA 4.0"). |