Two-in-one DNS server with BIND9 - multiple RRs of singleton type

Discussion in 'HOWTO-Related Questions' started by c4rdinal, Apr 15, 2008.

  1. c4rdinal

    c4rdinal New Member

    Hi,

    Had a problem seen on my log files as follows:

    Apr 15 09:21:39 deneb named[2963]: listening on IPv4 interface lo, 127.0.0.1#53
    Apr 15 09:21:39 deneb named[2963]: listening on IPv4 interface eth0, 192.168.1.101#53
    Apr 15 09:21:39 deneb named[2963]: command channel listening on 127.0.0.1#953
    Apr 15 09:21:39 deneb named[2963]: command channel listening on ::1#953
    Apr 15 09:21:39 deneb named[2963]: dns_master_load: /etc/bind/zones/external/db.domain:15: domain.com: multiple RRs of singleton type
    Apr 15 09:21:39 deneb named[2963]: zone domain.com/IN/internal: loading master file /etc/bind/zones/internal/db.domain: multiple RRs of singleton type
    Apr 15 09:21:39 deneb named[2963]: zone domain.com/IN/external: loaded serial 2
    Apr 15 09:21:39 deneb named[2963]: running
    Apr 15 09:21:39 deneb named[2963]: zone domain.com/IN/external: sending notifies (serial 2)

    Here's the entry on my /etc/bind/zones/external/db.domain file:

    ; Name Servers (NS) Records.
    IN NS ns1.domain.com.
    @ IN NS ns2.domain.com.

    ; Mail Exchange (MX) Records.
    MX 10 mx-1.domain.com.

    ; Addresses for the canonical name (A) records.
    localhost IN A 127.0.0.1
    ns1 IN A 192.0.2.1
    mx-1 IN A 192.0.2.1
    router IN A 192.0.2.1

    And my /etc/bind/zones/internet/db.domain:

    ; Name Servers (NS) Records.
    @ IN NS ns1.domain.com.
    ; IN NS ns2.domain.com.

    ; Mail Exchange (MX) Records.
    IN MX 10 mx-1.domain.com.

    @ IN A 192.0.2.1

    ; Addresses for the canonical name (A) records.
    localhost IN A 127.0.0.1
    ns1 IN A 192.168.1.101
    mx-1 IN A 192.168.1.101
    ns2 IN A 192.168.1.201
    client1 IN A 192.168.1.10
    client1 IN A 192.168.1.11

    $include "/etc/bind/zones/external/db.domain"

    Even I commented mx-1, router or change "A" to CNAME doesn't make any difference.

    How can I fix it?
     
    Last edited: Apr 15, 2008
  2. topdog

    topdog Active Member

    This is incorrect
    Code:
    ; Mail Exchange (MX) Records.
    MX 10 mx-1.domain.com.
    remove it
     
  3. c4rdinal

    c4rdinal New Member

    I removed the MX entry but it doesn't help. Any idea?

    Also, what's the correct entry in the Mail Exchange so i can fix it?

    TIA
     
  4. topdog

    topdog Active Member

    Code:
    named-checkzone domain /etc/bind/zones/external/db.domain
    named-checkzone domain /etc/bind/zones/internal/db.domain
     
  5. c4rdinal

    c4rdinal New Member

    Here's the result of the command:

    linux:~# named-checkzone domain /etc/bind/zones/external/db.domain
    zone domain/IN: loaded serial 2
    OK
    linux:~# named-checkzone domain /etc/bind/zones/internal/db.domain
    dns_master_load: /etc/bind/zones/external/db.domain:12: domain: multiple RRs of singleton type
    zone domain/IN: loading master file /etc/bind/zones/internal/db.domain: multiple RRs of singleton type
    linux:~#

    The problems seems to be in the internal db.domain file.

    Commenting the line fixed the problem.

    $include "/etc/bind/zones/external/db.domain"

    But should this be the case? Thank you so much for your help.
     
  6. topdog

    topdog Active Member

    Problem is you are not telling us what is in the zones, so i cannot figure out what the problem is but why are you including the external zone in the internal zone ?
     

Share This Page