Bind down!!

Discussion in 'Installation/Configuration' started by jorizzzz, Jun 3, 2008.

  1. jorizzzz

    jorizzzz New Member


    I've got a bind problem... I've been messing around a bit in the dns configuration of ispconfig and now bind won't start any more. When it tries to start it gives me the following error:

    /etc/bind/named.conf:40: zone '': already exists previous definition: /etc/bind/named.conf:27

    line 27 looks like this:
    zone "" {
    type master;
    file "db.local";

    and line 40 looks like this:
    zone "" {
    type master;
    file "";

    As you can see it is for the same zone, i've never had the second entry before (checked my backup files from yesterday). also contains bogus data, this is what's in it:

    $TTL        86400
    @               IN      SOA     ns1.********.nl. hostmaster.********.nl. (
                                    2008060302       ; serial, todays date + todays serial #
                                    28800   ; Refresh
                                    7200    ; Retry
                                    604800  ; Expire
                                    86400)  ; Minimum TTL
                            NS      ns1.********.nl.
                            NS      ns3.********.nl.
    1       PTR     localhost.*******.com.
    The *** is where the domain is entered, but i left that out.

    My question is, how can i make sure the file won't be created any more? Every time this file is created by ispconfig, my bind stops working.
    I can get bind running again by deleting the entry on line 40 in named.conf, but that isn't the answer to this problem.
    Last edited: Jun 3, 2008
  2. jorizzzz

    jorizzzz New Member

    Also another strange thing. This all happened with another from one of my clients at first. I've eventually removed the domain becaused it had moved to another server, but now this other domain (which i've done nothing with the last couple of months) came forward in the file...
  3. edge

    edge Active Member Moderator

    Hi Jorizzzz,

    Dutch domains need a record (that is what SIDN is telling you), and as you are probably hosting more than one .NL, you also created more records.
    More than one (localhost) records will 'break' Bind.

    I have had the exact same problem here.
    To fix it, remove ALL the extra records (from ISPconfig > DNS manager > the .NL domains > Records > A-Record, except one!
    Last edited: Jun 3, 2008

Share This Page