Configuring DNS

December 13, 2023

ID 166843

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 accessible from the server hosting the Squid service. 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. 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>

  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 at least 15 characters.

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

  5. Make sure that the name of the server hosting the Squid service matches the name of this server on the Active Directory 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.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.