On 2016-11-04, Chris Huxtable <ch...@huxtable.ca> wrote:
>
> # doas -u _pkgfetch host ftp.openbsd.org
> ftp.openbsd.org is an alias for openbsd.sunsite.ualberta.ca.
> openbsd.sunsite.ualberta.ca has address 129.128.5.191

Don't use host(1) to check, it doesn't use the system resolver that is
used by normal programs for name resolution.

Try this instead:

$ doas -u _pkgfetch getent hosts ftp.openbsd.org
129.128.5.191                           ftp.openbsd.org

Or even

$ doas -u _pkgfetch ftp -o- http://ftp.openbsd.org/pub/OpenBSD/6.0/
...

Is there anything else involved? http_proxy? anything "odd" in resolv.conf?

Reply via email to