Vagrant FQDN Hosts file Not been updated

61 views
Skip to first unread message

Rajiv Jain

unread,
Sep 21, 2015, 3:05:07 PM9/21/15
to Vagrant
Hi

I am using Vagrant on my MacBook Air. I have Linux installed on the guest machine and have manually set the FQDN of the machine. When I expose this guest machine over the public network on home internet I am unable to ping using the FQDN. However, I can ping through the ip address assigned.

On the Windows machine, I have to manually map the ip address to the FQDN within the C:\Windows\System32\drivers\etc\hosts file. I then can ping using the FQDN.

How can this be fixed, so that I can ping using the FQDN without adjusting the hosts file?

Alvaro Miranda Aguilera

unread,
Sep 22, 2015, 2:16:01 AM9/22/15
to vagra...@googlegroups.com
Hello,

You need to do the same that a physical machine, so is not a Vagrant issue.

My understanding is you need mDNS service on linux and with that they
will broadcast names/ip to the network.

Try to enable Avahi daemon on linux and test.
> --
> 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/c25201fb-4d16-4f75-b174-b60e42163c8f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages