You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(unshare)# echo "nameserver 10.0.2.3" >/tmp/resolv.conf(unshare)# mount --bind /tmp/resolv.conf /etc/resolv.conf(unshare)# drill google.com @10.0.2.3Error: error sending query: Could not send or receive, because of network error(unshare)#
This should suppose to resolve google.com, but it failed. In host, I killed the previous slirp4netns process and then run again without --enable-sandbox like this
my /etc/resolve.conf was pointing to /var/run/systemd/resolve/stub-resolv.conf instead of /run/systemd/resolv/stub-resolv.conf. I fixed it now. everything works as expected
I cannot resolve dns queries with build-in dns address 10.0.2.3
In host, I run
(host)$ slirp4netns --disable-host-loopback --enable-sandbox --enable-seccomp --enable-ipv6 --mtu 66520 -c $(cat /tmp/pid) tap0
Then, In guest, I run
This should suppose to resolve
google.com
, but it failed. In host, I killed the previousslirp4netns
process and then run again without--enable-sandbox
like this(host)$ slirp4netns --disable-host-loopback --enable-seccomp --enable-ipv6 --mtu 66520 -c $(cat /tmp/pid) tap0
Then, in guest, I run
I get proper result
Host Details
The text was updated successfully, but these errors were encountered: