Skip to content

DNS Name Resolution Configuration

Configuring a DNS Name Resolution

The first step to configuring the Connector is to ensure that there is a solid connection between the Connector and the Active Directory Domain Controller. You need to ensure that you can route from this machine to the Domain Controller and that there is nothing to prevent port 443 (https) and port 636 (LDAPS) connecting between the two systems.

In the following example the IP of the Domain Controller is

.yaml format file

In step 4 below this is a .yaml format file and the whitespaces are critical. Tabs cannot be used in a .yaml file. Please format it exactly as it is displayed in the above example.

  1. Install Resolvconf
    sudo apt update
    sudo apt install resolvconf
  2. Edit the resolvconf file
    Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN is the systemd-resolved stub resolver.
    run "systemd-resolve --status" to see details about the actual nameservers.
    search teradici.local
  3. Restart the resolvconf service
    sudo service resolvconf restart
  4. Edit Netplan Config
    sudo nano /etc/netplan/50-cloud-init.yaml
    This file is generated from information provided by the datasource. Changes
    to it will not persist across an instance reboot. To disable cloud-init's
    network configuration capabilities, write a file
    /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
    network: {config: disabled}
    dhcp4: true
    macaddress: 42:01:0a:a2:00:29
    set-name: ens4
    search: [teradici.local]
    addresses: []
    version: 2
  5. Restart Netplan
    sudo netplan apply
  6. Test DNS
    ping <name-of-domain-controller>
  7. If the response is successful, you should receive a message similar to the example below:
    PING ( 56 data bytes
    64 bytes from icmp_seq=0 ttl=118 time=16.622 ms
    64 bytes from icmp_seq=1 ttl=118 time=50.675 ms
    64 bytes from icmp_seq=2 ttl=118 time=27.682 ms
    64 bytes from icmp_seq=3 ttl=118 time=19.886 ms
    --- ping statistics ---
    4 packets transmitted, 4 packets received, 0.0% packet loss