portinstall: fetch(1) doesn't fetch

RW list-freebsd-2004 at morbius.sent.com
Fri Mar 11 07:33:38 PST 2005


On Friday 11 March 2005 10:15, h p wrote:
> Hi,
> 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
>

This is what you get when fetch can't do a successful dns lookup.

Just a thought, but I had a problem with the dns proxy on my adsl-nat-router 
where certain applications were consistently failing to get DNS resolution, 
and similar applications were consistently working. It went away when I 
disabled dhcp, and entered the isp servers in resolve.conf

To use wget look at FETCH_CMD,  and related variables, 
in /usr/ports/Mk/bsd.port.mk. I think you also need to set NO_SIZE to prevent 
a fetch specific option being used. 


More information about the freebsd-questions mailing list