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:

    dig +short <Active Directory domain>

    To use the dig utility, you may be required to install the bind-utils 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>

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

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

  4. 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.

  5. Add A- and PTR entries on the Active Directory DNS server for the server hosting the Squid service.

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

  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