M
M
may-cat2015-02-04 10:34:14
Computer networks
may-cat, 2015-02-04 10:34:14

How to organize a local network with domains in vagrant?

Colleagues, how can I do it on vagrant so that machines that rise in the local network receive their local domain names and can go to each other on them?
I want all machines to have a .local zone or something like that, and I could write mysql.default-service.local on the webserver.default-server.local machine and actually reach the muscle machine.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cool Admin, 2015-02-04
@may-cat

Colleague, I'm not much off topic, but isn't DHCP created for this? In the sense that raise the DNS serv, set up a zone with the possibility of dynamic registration, raise DHCP and distribute the zone. In vagrant, you only need to pass the hostname correctly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question