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

[Question] Need to edit hosts file in Ubuntu #135

Closed
gfilice opened this issue Apr 6, 2020 · 3 comments
Closed

[Question] Need to edit hosts file in Ubuntu #135

gfilice opened this issue Apr 6, 2020 · 3 comments

Comments

@gfilice
Copy link

gfilice commented Apr 6, 2020

To reach every .test istance I need to manually edit the hosts file (by adding the relation 127.0.0.1 app.xxx.test).
How to set up dnsmask to not have to edit this file?

@twolaver
Copy link

twolaver commented Apr 8, 2020

I had issues getting Ubuntu 19.10 to resolve xxx.test domains with the dnsmask docker container as well.

What I settled on was disabling systemd-resolved and using the dnsmask docker container (I always have to have warden up).

Probably not the best way, but everything is working for me now.

@see jpillora/docker-dnsmasq#21

@quinm0
Copy link

quinm0 commented May 12, 2020

Point your DNS configuration to your localhost ip (127.0.0.1) + whatever you were using after it.
Example: my DNS ip was "192.168.1.1" after modifications it now looks like "127.0.0.1,192.168.1.1"
Then reset your connection and everything should resolve through warden.

@davidalger
Copy link
Collaborator

Closing this issue for now due to inactivity.

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

4 participants