On 15/01/2013 9:03 p.m., Frank Lanitz wrote:
Am 14.01.2013 19:47, schrieb Loïc BLOT:
You must set and append_domain for FQDN use:
# TAG: append_domain
# Appends local domain name to hostnames without any dots in
# them. append_domain must begin with a period.
#
# Be warned there are now Internet names with no dots in
# them using only top-domain names, so setting this may
# cause some Internet sites to become unavailable.
#
append_domain .mydomain.tld
It looks like this did the trick. Thanks.
Just corious: Should squid make usage of suffix configured e.g. in
/etc/resolv.conf or do I have kind of a missunderstanding here?
You can only append one domain. Squid should make use of the
/erc/resolv.conf suffix *unless* append_domain has been configured,
which *replaces* the resolv.conf "domain" value with the squid.conf value.
/etc/resolv.conf is the better way since it offers both a "domain" to
append and an alternative "search" list with multiple domains to search
for resoluts in the order given. And all other software such as host /
nslookup, wget etc all use /etc/resolve.conf - it helps administration
to have everything on the box operating similarly.
Amos