custom dns for multi domain host?

47 views
Skip to first unread message

pixel fairy

unread,
Dec 26, 2015, 5:32:09 PM12/26/15
to Vagrant
Hi, i already use hostmanager, but id like to do custom dns for a vagrant network to test mutil domain hosts (web, email etc).

i thought about just sharing through a private network with non VM virtual machines, or skipping hostmanager for a probably more complex hosts setup. but a) some multi domain stuff might work better with real dns instead of a hosts file, and b) im hoping theres a better way.

Alvaro Miranda Aguilera

unread,
Dec 27, 2015, 4:39:03 AM12/27/15
to vagra...@googlegroups.com
Hello can you explain what you expect to have?



On Sun, Dec 27, 2015 at 11:32 AM, pixel fairy <pixel...@gmail.com> wrote:
Hi, i already use hostmanager, but id like to do custom dns for a vagrant network to test mutil domain hosts (web, email etc).

i thought about just sharing through a private network with non VM virtual machines, or skipping hostmanager for a probably more complex hosts setup. but a) some multi domain stuff might work better with real dns instead of a hosts file, and b) im hoping theres a better way.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/2777ed63-d55a-4a3c-9b67-6afbb5039254%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted
Message has been deleted

pixel fairy

unread,
Dec 27, 2015, 7:06:16 AM12/27/15
to Vagrant
i wanted machines to be able to have multiple names. hostmanager does this with aliases. i just didnt see that the first time i looked at the docs. problem solved :)

Edgar Oliveira

unread,
Dec 27, 2015, 9:10:26 AM12/27/15
to Vagrant
Hello everyone,

The HostManager you spoke this is tool: http://hostmanager.org/? I'd like create various virtual machine on server with virtualbox and manager this machines with vagrant, for example! The main objective are create a environment to test, before send the project to server production.  I don't know if this is the best option! What do you advice?

Thanks

Alvaro Miranda Aguilera

unread,
Dec 27, 2015, 6:14:29 PM12/27/15
to vagra...@googlegroups.com
Hello

hostmanager is the solution to one particular problem.

When you create multiple VMS you need a way each vm know about the others, so are several ways of doing it.

one is install that plugin

other is put a 2nd nic on each VM with a fixed IP, and use a shell provision script to update /etc/hosts


Alvaro.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.

pixel fairy

unread,
Dec 27, 2015, 10:21:57 PM12/27/15
to Vagrant
Reply all
Reply to author
Forward
0 new messages