sunics
Goto Top

BIND named.conf mit Subfiles

Hallo zusammen,

es es möglich in Bind (Läuft unter CentOS) Sub-Config-Files einzubinden in die named.conf

Z.b. Alle Domains von A - F in die File abisf.conf usw usw?


Vielen Dank im voraus für Eure Hilfe!

Content-Key: 494167

Url: https://administrator.de/contentid/494167

Printed on: April 25, 2024 at 01:04 o'clock

Member: Vision2015
Vision2015 Sep 12, 2019 at 15:34:41 (UTC)
Goto Top
Moin...

Wozu?

Frank
Member: sunics
sunics Sep 12, 2019 at 15:40:59 (UTC)
Goto Top
Bessere Gruppierung, Übersichtlicher.

So war die Idee.
Mitglied: 140913
140913 Sep 12, 2019 updated at 18:08:51 (UTC)
Goto Top
Member: Epixc0re
Solution Epixc0re Sep 13, 2019 updated at 08:40:17 (UTC)
Goto Top
Servus,

ja, das geht: /etc/bind/named.conf
include "/etc/bind/abisf.conf";  

und dann /etc/bind/abisf.conf:
zone "domainb.com" {  
 type master;
 file "....";  
};
zone "domaina.com" {  
 type master;
 file "....";  
};

schönes Wochenende.
Member: sunics
sunics Sep 14, 2019 at 16:21:33 (UTC)
Goto Top
Ah super merci!