Bug 185576 - ports-mgmt/pkg can't bootstrap from VirtualBox in NAT network
Summary: ports-mgmt/pkg can't bootstrap from VirtualBox in NAT network
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Virtualbox Team (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-08 10:40 UTC by yerenkow
Modified: 2018-01-11 18:14 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yerenkow 2014-01-08 10:40:00 UTC
Host: ubuntu with both ipv4 and ipv6, VM in NAT mode

Enabled local dns resolver for VM:

vboxmanage modifyvm "test-f" --natdnshostresolver1 on

when trying bootstrap pkg, this happens:

pkg: gethostby*.getanswer: asked for "pkg.freebsd.org IN AAAA", got type "A"

with, or without IPV6 in VM.

Fix: 

change nameserver from VBox IP to some global one.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-13 00:24:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2014-06-16 05:57:37 UTC
This imho sounds more like a vbox defect than a pkg one
Comment 3 Walter Schwarzenfeld freebsd_triage 2018-01-11 16:30:31 UTC
I think this is overcome by events and be closed.