Up to OpenBSD 4.5, running a system with no ipv6 connectivity was somewhat of a nuisance - the resolver would look for AAAA records first, returning (unreachable) ipv6 addresses...
In OpenBSD 4.6, there's a new resolv.conf (cache) option, which allows to disable this behaviour or set a preference (and inet4 is preferred by default):
#/etc/resolv.conf
family inet4
IPv6 addressing can be disabled by setting "-inet6" on interfaces.
See "Re: How to disable IPv6?" by Todd T. Fries openbsd-misc (cache).
In OpenBSD 4.6, there's a new resolv.conf (cache) option, which allows to disable this behaviour or set a preference (and inet4 is preferred by default):
#/etc/resolv.conf
family inet4
IPv6 addressing can be disabled by setting "-inet6" on interfaces.
See "Re: How to disable IPv6?" by Todd T. Fries openbsd-misc (cache).