Adding custom DNS servers to your Domino Environment

Overview


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.

 

Instructions


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.

  1. Open the environment you want to modify, then click Edit Definition.

    Screen_Shot_2019-03-15_at_3.38.27_PM.png

  2. Scroll down to the bottom of the definition, then click to expand the Advanced section.

    Screen_Shot_2019-03-15_at_3.41.23_PM.png

  3. 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:

    Screen_Shot_2019-03-15_at_3.50.11_PM.png

     
  4. Click Build at the bottom of the definition page to create a new version of the environment.

  5. Following a successful build, you can use this environment to reach hosts through the added DNS name server
Was this article helpful?
1 out of 1 found this helpful