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

Re: ein neuer Versuch: Adresse in Nameserver eintragen



On Thu, Jun 10, 2004 at 12:27:47AM +0200, Hans-Georg Bork wrote:
Hallo!

> hast Du in named.conf, in der Deklaration der Zone, ein allow-update
> eingetragen? Falls nicht, kann ddns die Info nicht in die Zone schreiben.
Jau, steht drin. Die named.conf sieht so aus:

options {
  directory "/var/cache/bind";
  forwarders { 212.62.64.34; };
  forward only;
  listen-on { 
  		127.0.0.1;
  		192.168.99.1; 
  };
  heartbeat-interval 2880;
  auth-nxdomain no;	#conform to RFC1035
};
#hier wird gesteuter, wer den dns updaten darf (hier nur der Server selber)
#acl "dhcp-clients" {
#        192.168.99.1/24;
#};

logging {
        channel update_debug {
                 file "/var/log/update-debug.log";
                 severity  debug 3;
                 print-category yes;
                 print-severity yes;
                 print-time     yes;
            };
            category update { update_debug; };
};

zone "." {
	type hint;
	file "/etc/bind/db.root";
};

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

// kosmos.local auf eth0

zone "kosmos.local" {
     type master;
     file "/etc/bind/db.kosmos";
     #allow-update { "dhcp-clients"; };
     allow-update { 127.0.0.1/32; };
};

zone "99.168.192.in-addr.arpa" IN {
     type master;
     file "/etc/bind/db.192.168.99";
     #allow-update { "dhcp-clients"; };
     allow-update { 127.0.0.1/32; };
};


> Nebenbei: da Du eine feste Adresse fuer chef benutzt, was haelt Dich
> davon ab, chef direkt ins zonefile zu schreiben?
Hatte ich so zuerst versucht. Die Zonendateien wurden aber regelmäßig
überschrieben und der feste Eintrag damit auch.


Gruß

Thomas
-- 
!! neue E-Mailadresse: ThomasWegner@gmx.net !!



Reply to: