KB N°2677: PROXY CANNOT RESOLVE SHORT NAMES (APPEND_DOMAIN)

Published November 9, 2023

When resolving internal sites through the proxy, error messages may appear.

Symptom

When resolving internal sites through the proxy, error messages may appear.

Short domain names generate errors from the proxy, which considers them incomplete.

Example: http://monapplicationweb

Steps

The append_domain directive will automatically add the DNS domain name so that internal sites can be resolved through the proxy.

Example: http://monapplicationweb.company.local

The directive is added in the Proxy Cache QoS module (or in Settings > HTTP Proxy for customers who have not subscribed to the module).

This is how the directive appears in the Manual configuration > File start section:

The syntax is as follows: append_domain .NomDeDomaineDns.

You can find this information in /etc/resolv. conf: the name is indicated in the "search" line.

Example: search company.local

Validation

By specifying the short domain name, the DNS domain name will automatically be added as a suffix, so that resolution can take place through the proxy.