diff --git a/icinga1x/Vagrantfile b/icinga1x/Vagrantfile index b47f6b01..d1d07be9 100644 --- a/icinga1x/Vagrantfile +++ b/icinga1x/Vagrantfile @@ -24,6 +24,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.network :forwarded_port, guest: 8080, host: 8082, auto_correct: true #tomcat config.vm.provider "virtualbox" do |vb| vb.customize ["modifyvm", :id, "--memory", "1024"] + # Using the host's resolver as a DNS proxy in NAT mode + vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] end config.vm.provision :puppet do |puppet| puppet.module_path = "modules" diff --git a/icinga2x-cluster/Vagrantfile b/icinga2x-cluster/Vagrantfile index e0403f98..df5c15b4 100644 --- a/icinga2x-cluster/Vagrantfile +++ b/icinga2x-cluster/Vagrantfile @@ -60,6 +60,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| v.customize ["modifyvm", :id, "--memory", "1024"] v.customize ["modifyvm", :id, "--cpus", "2"] + # Using the host's resolver as a DNS proxy in NAT mode + v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] end # provisioner diff --git a/icinga2x-graylog/Vagrantfile b/icinga2x-graylog/Vagrantfile index 2e1f3f5d..b7e5c806 100644 --- a/icinga2x-graylog/Vagrantfile +++ b/icinga2x-graylog/Vagrantfile @@ -60,6 +60,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| v.customize ["modifyvm", :id, "--memory", "1024"] v.customize ["modifyvm", :id, "--cpus", "2"] + # Using the host's resolver as a DNS proxy in NAT mode + v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] end # provisioner diff --git a/icinga2x/Vagrantfile b/icinga2x/Vagrantfile index 62a201fd..4ccbc570 100644 --- a/icinga2x/Vagrantfile +++ b/icinga2x/Vagrantfile @@ -58,6 +58,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| v.customize ["modifyvm", :id, "--memory", "1024"] v.customize ["modifyvm", :id, "--cpus", "2"] + # Using the host's resolver as a DNS proxy in NAT mode + v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] end # provisioner diff --git a/modules/graylog2/Vagrantfile b/modules/graylog2/Vagrantfile index dd31c496..7a5bd367 100644 --- a/modules/graylog2/Vagrantfile +++ b/modules/graylog2/Vagrantfile @@ -55,5 +55,7 @@ Vagrant.configure('2') do |config| config.vm.provider 'virtualbox' do |v| v.memory = 2048 v.cpus = 2 + # Using the host's resolver as a DNS proxy in NAT mode + v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] end end