I figured this out. I just needed to fully qualify the DNS names.
Edit:
The instructions found in the link below can be used to permanently add a search option to resolv.conf. The user Linuturk provided the relevant information.
http://ubuntuforums.org/archive/index.php/t-306308.html
First, make sure you have internet access, and make sure resolvconf
is installed on your system.
sudo aptitude install resolvconf
Next, let me explain the elements of resolvconf.
/etc/resolvconf/resolv.conf.d/head is the header file for the
dynamic generation. Leave this alone.
/etc/resolvconf/resolv.conf.d/base is the "meat" of the file,
or the middle. Define your nameservers here using this syntax:
nameserver xxx.xxx.xxx.xxx
where xxx.xxx.xxx.xxx is the ip [address] of your nameserver.
/etc/resolvconf/resolv.conf.d/tail is the ending of this file.
Leave this one alone too.
/etc/resolvconf/resolv.conf.d/original is the original
configuration of the file. These isn't anything you have
to do for this file.
After you have applied your changes, but before you restart
your network service, run this command:
sudo resolvconf -u
This will run the script and update your /etc/resolv.conf file.
This apparently should happen every time the machine boots.
After that, restart your networking service with this command:
sudo /etc/init.d/networking restart