Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a bind9 installation on my Debian Wheezy install. On this install I have a DNS-server which acts as the SOA for a domain, example1.com. My name server is also on the same domain, example1.com (see excerpt from db1.example.com below). This has been achieved by glue records at my hosting provider).

Now I want to add another domain, example2.com to this bind9 installation, so that it is the master DNS-server for both domains.

I already have:

(from named.conf)

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

(from db.example1.com)

$TTL    604800
@       IN      SOA     example1.com. root.example1.com. (
                      1         ; Serial
                 604800         ; Refresh
                  86400         ; Retry
                2419200         ; Expire
                 604800 )       ; Negative Cache TTL
@       IN      NS      example1.com.

Now, I tried to add another zone entry in named.conf and a file db.example2.com (corresponding to the db.example1.com). But that leads to bind failing to start.

  • What is missing? Does the delegation (by ISP) of the domain example2.com have to be done before adding it to my DNS-server?
share|improve this question
Whatever the problem is, is local to your machine. Unfortunately it's not possible to say what the problem is, since you don't show us the new (non-working) configuration or the error message you get when trying to load it. – Calle Dybedahl Sep 21 '15 at 14:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.