Configuring DNS

To configure DNS settings:

  1. Specify the IP address of the DNS server or servers used for working with Active Directory on the server hosting the Squid service.

    For more details about the ways to configure DNS in various operating systems, please refer to the documentation on the relevant operating systems.

  2. Make sure that the Active Directory DNS zone is available. To do so, execute the command:

    host -t a <Active Directory domain>

    To use the host utility, you may be required to install the bind-utils or bind9-host package in advance.

    You will see A entries of Active Directory domain controllers.

  3. Make sure that there is a PTR entry for each domain controller. To do so, execute the command:

    host <domain controller IP address>

    You will see the PTR entry of the Active Directory domain controller.

  4. Add A- and PTR entries on the Active Directory DNS server for the server hosting the Squid service. The server name must be unique and contain no more than 15 characters.

    To create a PTR entry, you may need to add a reverse DNS zone.

  5. Specify the name of the server hosting the Squid service. To do so, execute the command:

    hostnamectl set-hostname <name of the server hosting the Squid service>

    The name of the server hosting the Squid service must match the name of this server on the DNS server.

  6. Make sure that the Active Directory domain controller is accessible from the server hosting the Squid service. To do so, execute the command:

    ping <Active Directory domain controller name>

    If the Active Directory domain controller is accessible, you will see a successful exchange of packets.

  7. Make sure that the server hosting the Squid service is accessible from the Active Directory domain controller. To do so, execute the command:

    ping <name of the server hosting the Squid service>

    If the server hosting the Squid service is accessible, you will see a successful exchange of packets.

The DNS settings will be configured.

Page top