Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.