To configure DNS settings:
For more details about the ways to configure DNS in various operating systems, please refer to the documentation on the relevant operating systems.
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.
host <domain controller IP address>
You will see the PTR entry of the Active Directory domain controller.
To create a PTR entry, you may need to add a reverse DNS zone.
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.
ping <Active Directory domain controller name>
If the Active Directory domain controller is accessible, you will see a successful exchange of packets.
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