To point the Blue Cedar Connect Gateway's Domain Name Server (DNS) to the IP address of the Active Directory server:

% set system dns domain name search domain_name nameserver1 IP_address nameserver2 IP_address
BASH


ElementDescription
domain nameName of the domain where the AD server is located
search domain_nameDomain name that the gateway's DNS server searches for when connecting to the AD server
nameserver1 IP_address and  nameserver2 IP_addressIP addresses of the DNS servers that the AD server uses

This example shows the gateway's DNS server configured for the domain of the AD server (example.com), the domain name to search for (example.com), and the IP address of the DNS server for the AD server (192.168.0.2).

dns {
  domain      example.com;
  search      example.com;
  nameserver1 192.168.0.2;
}
BASH

The value for the dns nameserver address can be a Windows Server or Linux server as long as it is configured to use Service (SRV) records. An SRV record specifies data in the Domain Name System that defines the location of servers for specified services (such as the hostname and port number of the server).