Adding custom DNS servers to your Domino Environment
Custom DNS name servers are used to handle internal or private domain names and URLs. This guide shows how to add a new DNS server to your Domino environment to allow access to additional domains and hostnames.
On a Linux host like your Domino executor, a configuration file at /etc/resolv.conf controls which DNS servers will be used to resolve hostnames. You can use a pre-setup script in your Domino environment to modify this file and add custom DNS servers by following these instructions.
Open the environment you want to modify, then click Edit Definition.
Scroll down to the bottom of the definition, then click to expand the Advanced section.
In the Pre Setup Script field, enter the following lines of Bash. Fill in the address of the custom server you want to use where indicated.
echo 'nameserver your-custom-server-address' > /tmp/resolv.conf.tmp cat /etc/resolv.conf >> /tmp/resolv.conf.tmp cat /tmp/resolv.conf.tmp > /etc/resolv.conf
When finished, your interface should look like this:
Click Build at the bottom of the definition page to create a new version of the environment.
Following a successful build, you can use this environment to reach hosts through the added DNS name server