Single machine VPS

Lightner, Jeff JLightner at
Mon Oct 17 13:36:31 UTC 2011

Create an entry for just the domain and be sure to add a dot to the end so it doesn't append the domain name:  IN A
www     IN A

Without the dot the domain is appended so that without a dot would actually be seen as   With the dot it is seen simply as

www in the above is NOT completed with a dot so that it is actually seen as

-----Original Message-----
From: at [ at] On Behalf Of Nico Aragón
Sent: Monday, October 17, 2011 6:59 AM
To: bind-users at
Subject: Single machine VPS


I'm new to Bind. My previous registrar (or was it the hosting
provider?) was so kind to manage DNS for me. But now I'm required to
configure a DNS server in the very same VPS that hosts the HTTP and
mail server.

I've managed to set it running and (apparently) working after reading
some quick tutorials and a good deal of trial/error. A little issue
persists: I'd like the domain to be reached through HTTP as
"", but it only works as "". The
examples are all about configuration with several machines, so I did
my best to adapt them. But I'm stuck now and a little afraid to touch
and lose what already works.

I'm using bind9 in ubuntu 11.04 server. A forwarder is set in the
options file. The rest of the configuration is like this:


zone "" {
    type master;
    file "/etc/bind/zones/";

zone "" {
    type master;
    notify no;
    file "/etc/bind/zones/";


$TTL 604800 IN SOA (
IN A IN MX 10 IN MX 10

www IN A


$TTL 604800
@ IN SOA (
    2001180909 ; serial number
    3h         ; refresh
    15m        ; update retry
    3w         ; expiry
    3h )       ; minimum

@ IN NS www.
194 IN PTR



    Nico Aragón
Please visit to unsubscribe from this list

bind-users mailing list
bind-users at

Athena®, Created for the Cause(tm)
Making a Difference in the Fight Against Breast Cancer

CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.

More information about the bind-users mailing list