Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solving the problem with domain ping on the host machine (Windows 10) #1

Open
SequelONE opened this issue May 18, 2023 · 1 comment

Comments

@SequelONE
Copy link
Owner

SequelONE commented May 18, 2023

Login to SSH on the machine sequel.loc and enter the command:

echo "server=/retracker.local/192.168.2.1" | sudo tee /etc/NetworkManager/dnsmasq.d/retracker.conf

In /etc/resolv.conf:

nano /etc/resolv.conf

add

domain sequel.loc
nameserver 192.168.2.1
nameserver 192.168.2.21
nameserver 192.168.2.22
nameserver 8.8.8.8
nameserver 127.0.0.53
search sequel.loc

In /etc/hosts:

127.0.0.1       localhost

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost   ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

192.168.2.10    sequel.loc
127.0.0.1       sequel.loc      sequel.loc
127.0.1.1       ubuntu-jammy    ubuntu-jammy

Install packages:

apt-get --no-install-recommends install virtualbox-guest-utils

Exit from SSH exit and reload mashine:

vagrant reload

Setting for local network

@SequelONE
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant