portinstall: fetch(1) doesn't fetch
h p
regnans at gmail.com
Fri Mar 11 09:10:52 PST 2005
> > 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
More information about the freebsd-questions
mailing list