Skip to main content

All Questions

Tagged with
0 votes
2 answers
5k views

How to set up dnsmasq under linux to use a wildcard domain for local web development with lando/docker?

I recently discovered lando for local web development, which uses docker in the background. It works great so far, but I have to add every domain for each project manually to my hosts file /etc/hosts: ...
jost21's user avatar
  • 787
0 votes
0 answers
53 views

Automatic DNS resolution of my laptop hostname to it's private IP

I have a laptop configured with hostname (i.e. mycomputer.mynetwork) I would like this hostname to resolve to the private IP of this laptop. Not 127.0.0.1, I would it to resolve to the private IP the ...
Christophe Schmitz's user avatar
11 votes
1 answer
31k views

Tell docker to use the DNS server in the host system

I have dnsmasq running in the host, and I want the docker containers to use that, instead of the default Google servers (8.8.8.8) My host /etc/resolv.conf looks as follows: » cat /etc/resolv.conf # ...
blueFast's user avatar
  • 2,736