Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Mar 2005 18:10:50 +0100
From:      h p <regnans@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: portinstall: fetch(1) doesn't fetch
Message-ID:  <68b3483d05031109107d5e1cb2@mail.gmail.com>
In-Reply-To: <20050311145134.GI59028@mich2.itxmarket.com>
References:  <68b3483d05031102153d1b67b5@mail.gmail.com> <20050311145134.GI59028@mich2.itxmarket.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > I don't understand the behaviour of fetch(1). Whenever I try to fetch
> > from an URL, I get anwers like
> >     > fetch http://www.google.com
> >     fetch: http://www.google.com: No address record
> 
> Do you have any weird environment variables set ? Like
> FETCH_BIND_ADDRESS or maybe HTTP_PROXY ?

Oh my, HTTP_PROXY was the culprit. Thanks. Strange wget doesn't use
the proxy though.
This brings me to another question. In my /etc/hosts i have lines like

    192.168.1.44 sue.microsoft.com sue

but sue is not resolved.
the /etc/host.conf looks like 

    # Auto-generated from nsswitch.conf, do not edit
    hosts
    bind

and /etc/nsswitch.conf is

    group: compat
    group_compat: nis
    hosts: files dns
    networks: files
    passwd: compat
    passwd_compat: nis
    shells: files

What am I missing here? I want sue to be resolved without DNS...

Thanks
Helge



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?68b3483d05031109107d5e1cb2>