Bind9 kompakt: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(52 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
−
=if systemd-resolved is running disable it=
+
*[[Bind9 kompakt Einstieg]]
−
*systemctl disable  systemd-resolved
+
*[[Bind9 sekundärer Nameserver]]
−
*systemctl stop systemd-resolved
 
−
=forward zone=
 
−
==config==
 
−
*vi  named.conf.local
 
−
<pre>
 
−
zone "vulkan.int" {
 
−
      type master;
 
−
      file "vulkan.int";
 
−
};
 
−
</pre>
 
−
==zonefile==
 
−
*/var/cache/bind/vulkan.int
 
−
<pre>
 
−
$TTL 300
 
−
@              IN SOA  unaris.vulkan.int. technik.xunix.de. (
 
−
                  2011090204 14400 3600 3600000 86400
 
−
                              )
 
−
              IN NS      unaris.vulkan.int.
 
−
unaris        IN A      192.168.25.4
 
−
</pre>
 
−
 
 
−
=install=
 
−
*apt-get install bind9
 
−
=set resolv.conf=
 
−
*rm /etc/resolv.conf
 
−
*echo nameserver 127.0.0.1 > /etc/resolv.conf
 

Aktuelle Version vom 25. Februar 2023, 09:07 Uhr