Re: /etc/hosts parsing support question

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sun, 3 Mar 2002 04:10:22 -0700

Yeah, I'm on crack. I found that my problem was PEBKAC.
Yeah. That makes sense. Stupid me. :-)

Adrian

On Sat, Mar 02, 2002, Henrik Nordstrom wrote:
> You are looking for the ipcache (hostname->ip)..
>
> fqdncache is ip->hostname and can only have one name per ip.
>
> Note: in /etc/hosts each name for a single IP traditionally has to be
> listed on the same line, with the primary name being the first listed
> (primary == the name returned on reverse lookup from IP). Not sure
> how Squid does things.
>
> Regards
> Henrik
>
>
>
>
>
> On Saturday 02 March 2002 13:18, Adrian Chadd wrote:
> > Hi,
> >
> > I have someone who wants to do the accelerator host mapping in
> > /etc/hosts under squid-2.5, but they're having problems with
> > large numbers of entries for a single IP.
> >
> > Ie,
> >
> > 1.1.1.1 foo.com www.foo.com
> > 1.1.1.1 bar.com www.bar.com
> >
> > squid doens't keep both in the fqdncache.
> >
> > I've been fiddling around with trying to _get_ extra entries into
> > the fqdncache, but so far I haven't been succesful. Can someone who
> > understands the code possibly look at doing this quickly?
> >
> > Thanks!
> >
> >
> >
> > Adrian
>
Received on Sun Mar 03 2002 - 04:10:23 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:50 MST