DNS + Qmail + Redhat9.0

Jaz jazxyz at web.de
Wed Aug 20 15:03:43 UTC 2003


I can not send / receive via my qmail.................
Below is my Dns configuration file pls help me check error and tell me.
I am using it for my Intranet qmail server only _no_internet_access

my domain: sdc
my host: linux.sdc
ip address: 10.5.1.55 (Mail Server)

Aug 20 16:53:34 linux named[28480]: starting BIND 9.2.2 -u named
Aug 20 16:53:34 linux named[28480]: using 2 CPUs
Aug 20 16:53:34 linux named[28480]: loading configuration from
'/etc/named.conf'
Aug 20 16:53:34 linux named[28480]: no IPv6 interfaces found
Aug 20 16:53:34 linux named[28480]: listening on IPv4 interface lo,
127.0.0.1#53
Aug 20 16:53:34 linux named[28480]: listening on IPv4 interface eth1,
10.5.1.55#53
Aug 20 16:53:34 linux named[28480]: command channel listening on
127.0.0.1#953
Aug 20 16:53:34 linux named[28480]: dns_rdata_fromtext:
/var/named/10.5.rev:7: near eol: unexpected end of input
Aug 20 16:53:34 linux named[28480]: zone 5.10.in-addr.arpa/IN: loading
master file /var/named/10.5.rev: unexpected end of input
Aug 20 16:53:34 linux named[28480]: zone sdc/IN: loaded serial 1060775512
Aug 20 16:53:34 linux named[28480]: running
Aug 20 16:53:34 linux named: named startup succeeded


[root at linux named]# ls -al
-rw-r--r--    1 root     root          180 Aug 20 16:08 10.5.rev
-rw-r--r--    1 named    named         195 Jan 25  2003 localhost.zone
-rw-r--r--    1 named    named        2499 Jan 25  2003 named.ca
-rw-r--r--    1 named    named         433 Aug 20 16:37 named.local
-rw-r--r--    1 root     root          200 Aug 20 16:09 sdc.host

1)10.5.rev
$ttl 38400
5.10.in-addr.arpa.      IN      SOA     linux.sdc. (
                        1060775578
                        10800
                        3600
                        604800
                        38400 )
5.10.in-addr.arpa.      IN      NS      linux.sdc.
55.1.5.10.in-addr.arpa. IN      PTR     linux.sdc.

2)localhost.zone
$TTL    86400
$ORIGIN localhost.
@                       1D IN SOA       @ root (
                                        42              ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum

                        1D IN NS        @
                        1D IN A         127.0.0.1

3)named.local
$TTL    86400
@       IN      SOA     localhost. root.localhost.  (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
              IN      NS      localhost.

1       IN      PTR     localhost.

4)sdc.hosts
$ttl 38400
sdc.    IN      SOA     linux.sdc. fadi.sdc. (
                        1060775512
                        10800
                        3600
                        604800
                        38400 )
sdc.    IN      NS      linux.sdc.
www.sdc.        IN      CNAME   linux.sdc.
sdc.    IN      MX      10 linux.sdc.
linux.sdc.      IN      A       10.5.1.55

5)/etc/named.conf
options {
        directory "/var/named";
        pid-file "/var/run/named/named.pid";
        forwarders {
                10.5.1.55;
                };
        };

zone "sdc" {
        type master;
        file "/var/named/sdc.hosts";
        };

zone "5.10.in-addr.arpa" {
        type master;
        file "/var/named/10.5.rev";
        };

view INTRANET {
        };




More information about the bind-users mailing list