Actions
Bug #2786
closedUtilDns test suite fails with some (faulty?) DNS resolver configuration
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Network
Target version:
-
Start date:
05/04/2015
Due date:
% Done:
0%
Estimated time:
Description
This may be related to #2653, but I cannot confirm this.
The following are the steps with vagrant that I was able to reproduce the error:
mkdir test
cd test
vagrant up ubuntu/vivid64
vagrant ssh
# install ndn-cxx dependencies
# build ndn-cxx with tests and optimized mode
./build/unit-tests -t UtilDns -l all
Expected:
- test passed
Actual:
- tests failed
There is something funky with default VirtualBox DNS settings. The error goes away when the following is added into vagrant configuration:
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end
Some related info is here: http://serverfault.com/questions/453185/vagrant-virtualbox-dns-10-0-2-3-not-working
Actions