[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Squid (suddenly) does not resolv local hostnames



>>>>> "Craig" == Craig Sanders <cas@taz.net.au> writes:

  Craig> On Wed, Oct 13, 1999 at 12:53:06AM +0200, Laurent Martelli
  Craig> wrote:
  >> I'm having a strange problem with squid. It suddenly does not
  >> resolv local hostnames which are not in /etc/hosts.
  >> 
  >> For instance, if I try to browse www with "lynx http://www/";, it
  >> says:
  >> 
  >> The requested URL could not be retrieved [...]

  Craig> two options in /etc/squid.conf may be useful to you here:

  Craig> 	# TAG: dns_defnames on|off # Normally the 'dnsserver'

  Craig> or:

  Craig> 	# TAG: append_domain # Appends local domain name to
  Craig> hostnames without any dots in # them.  append_domain must
  Craig> begin with a period.  # #append_domain .yourdomain.com

This one made it work again. Thanks. 

But I still do not understand why this happens so suddenly. 

-- 
Laurent Martelli
martelli@iie.cnam.fr


Reply to: