View Full Version : Setting up BIND9 trouble

December 26th, 2010, 02:02 AM
Hello Everyone!
I am having trouble with setting up BIND9 for 6 virtual servers that use ubuntu x64 v10.10.
I have main server running ubuntu as well. host name is xeonserver

I would like to explain my setup first.

my router ip:
host server for VMs ip:

Then on qemu my virtual machines are in network, gateway to my router is
1. kerberos.xeonserver (not configured yet)
2. dns.xeonserver (the one I have trouble with)
3. mysql.xeonserver (not configured yet)
4. apache.xeonserver (not configured yet)
5. ftp.xeonserver (not configured yet)
6. mail.xeonserver (not configured yet)

To configure it I followed instructions found on http://www.ubuntugeek.com/dns-server-setup-using-bind-in-ubuntu.html

my /etc/bind/named.conf.local looks like this

zone "aquapuffin.com"{
type master;
file "/etc/bind/zones/aquapuffin.com.db";

zone "0.0.10.in-addr.arpa" {
type master;
file "/etc/bind/zones/rev.0.0.10.in-addr.arpa";

my /etc/bind/named.conf.options looks like this

options {
directory "/var/cache/bind";

forwarders {;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };

my /etc/bind/zones/aquapuffin.com.db looks like this

aquapuffin.com. IN SOA dns.xeonserver.aquapuff$
aquapuffin.com. IN NS dns.xeonserver.aquapuff$
kerberos.xeonserver.aquapuffin.com. IN A
dns.xeonserver.aquapuffin.com. IN A
mysql.xeonserver.aquapuffin.com. IN A
apache.xeonserver.aquapuffin.com. IN A
ftp.xeonserver.aquapuffin.com. IN A
mail.xeonserver.aquapuffin.com. IN A

my /etc/bind/zones/rev.0.0.10.in-addr.arpa looks like this

@ IN SOA dns.xeonserver.aquapuffin.com. root.aq$
86400 )
IN NS dsn.xeonserver.aquapuffin.com. IN PTR kerberos.xeonserver.aquapuffin.com. IN PTR dns.xeonserver.aquapuffin.com. IN PTR mysql.xeonserver.aquapuffin.com. IN PTR apache.xeonserver.aquapuffin.com. IN PTR ftp.xeonserver.aquapuffin.com. IN PTR mail.xeonserver.aquapuffin.com.

my /etc/resolv.conf looks like this


Could someone help me out to verify if I did everything correct here. I already pointed all my machines to dns server. but it can't find my machines. Any help will be appreciated

December 26th, 2010, 08:01 AM
I've never seen those dollar signs before, looks like a syntax error to me. eg "dns.xeonserver.aquapuff$". Take another look at the link you are following for the right syntax.

Also, tail /var/log/syslog when you start bind, it should let you know what is going wrong.