Vagrant: DNS 10.0.2.3 Returns A Record Instead of MX Record
Here is my setup:
Vagrant version: 1.2.4
VirtualBox version: 4.2.16
Host OS: Mac OS X 10.7.5
Guest OS: Ubuntu Server 12.04 (http://files.vagrantup.com/precise32.box)
I have the "natdnshostresolver1" option turned on because, without it, my
guest OS cannot access code.google.com even though my host OS can.
Here is the contents of my guest OS' "/etc/resolv.conf" file:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by
resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 10.0.2.3
The problem is that when I run dig mycompanysdomain.com MX, the answer
section contains the A record, not the MX record. If I run the very same
command on the host OS, the answer section contains the MX record as it
should. Our mail is hosted through Google Apps.
To be sure that something with the host OS wasn't causing this, I tried
running this Vagrant environment using a host OS of Ubuntu 12.04. The same
problem occurred. Any ideas?
No comments:
Post a Comment