[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bind9 mag nicht:



Hallo,

Sebastian Wolfgarten wrote:
> poste mal bitte die entsprechenden Zonendateien
> vom Bind, sieht mir nach einem Syntaxfehler aus.

---named.conf---
options {
	directory "/var/cache/bind";

	// If there is a firewall between you and nameservers you want
	// to talk to, you might need to uncomment the query-source
	// directive below.  Previous versions of BIND always asked
	// questions using port 53, but BIND 8.1 and later use an unprivileged
	// port by default.

	// query-source address * port 53;

	// If your ISP provided one or more IP addresses for stable
	// nameservers, you probably want to use them as forwarders.
	// Uncomment the following block, and insert the addresses replacing
	// the all-0's placeholder.

	forward first;
	forwarders {
	212.185.249.116;
	194.25.2.129;
	};

	auth-nxdomain no;    # conform to RFC1035

};

// prime the server with knowledge of the root servers
zone "." {
	type hint;
	file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
	type master;
	file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
	type master;
	file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
	type master;
	file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
	type master;
	file "/etc/bind/db.255";
};

// add entries for other zones below here

zone "qno" {
          type master;
          notify no;
          file "/etc/bind/db.qno";
  };

zone "1.168.192.in-addr.arpa" {
           type master;
           notify no;
           file "/etc/bind/db.192";
   };
-------

---db.127---
$TTL
604800
@
IN
SOA
ns.qno. root.server.qno. (
			      1		; Serial
			 604800		; Refresh
			  86400		; Retry
			2419200		; Expire
			 604800 )	; Negative Cache TTL
;
@
IN
NS
ns.qno.
1.0.0
IN
PTR
localhost.
--------

---db.192---
$TTL 3D
   @       IN      SOA     ns.qno. hostmaster.server.qno. (
                           200205011 ; Serial, todays date + todays serial
                           8H      ; Refresh
                           2H      ; Retry
                           4W      ; Expire
                           1D)     ; Minimum TTL
                   NS      ns.qno.

   1               PTR     ns.qno.
   2               PTR     home.qno.
-------

---db.qno---
$TTL 3D
   @       IN      SOA     ns.qno. hostmaster.server.qno. (
                           200205011       ; serial, todays date +
todays serial #
                           8H              ; refresh, seconds
                           2H              ; retry, seconds
                           4W              ; expire, seconds
                           1D )            ; minimum, seconds
   ;
                   TXT     "QNo' privates Heimnetzwerk"
                   NS      ns              ; Inet Address of name server
                   MX      10 mail.qno.     ; Primary Mail Exchanger
   ;
   localhost       A       127.0.0.1

   ns              A       192.168.1.1
                   TXT     "Server mit allen Diensten"
   server          CNAME   ns
   mail            CNAME   ns
   www             CNAME   ns
   ftp             CNAME   ns

   home            A       192.168.1.2
                   "Linux- oder Windows-Client"
   windows         CNAME   home
   qno             CNAME   home
--------

mfg
Christian



--
Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-request@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an listmaster@lists.debian.org (engl)



Reply to: