Pseudo second level domain Basics: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Die Seite wurde neu angelegt: „=Auf den Nameservern= ;Folgende Option zur /etc/bind/named.conf.options hinzufügen forwarders { 192.168.6.88; }; empty-zones-enable no; *cat…“
 
Zeile 7: Zeile 7:
*cat  /etc/bind/named.conf.local  
*cat  /etc/bind/named.conf.local  
<pre>
<pre>
zone it100.int IN {
zone it113.int IN {
     type master;
     type master;
     file "it100.int";
     file "it113.int";
};
};


zone 100.88.10.in-addr.arpa IN {
zone 113.88.10.in-addr.arpa IN {
     type master;
     type master;
     file "100.88.10.in-addr.arpa";
     file "113.88.10.in-addr.arpa";
}
}
</pre>
</pre>




*cat  /var/cache/bind/it100.int  
*cat  /var/cache/bind/it113.int  
<pre>
<pre>
$TTL 300
$TTL 300
Zeile 30: Zeile 30:
                     )
                     )
         IN NS      ns
         IN NS      ns
ns      IN A      10.88.100.21
ns      IN A      10.88.113.21
www    IN A      10.88.100.22
www    IN A      10.88.113.22
</pre>
</pre>


*cat  /var/cache/bind/100.88.10.in-addr.arpa #
*cat  /var/cache/bind/113.88.10.in-addr.arpa  
<pre>
<pre>


$TTL 300
$TTL 300
@   IN SOA  ns.it100.int. technik.xinux.de. (
@   IN SOA  ns.it113.int. technik.xinux.de. (
                         2011090204  ;
                         2011090204  ;
                         14400  ;
                         14400  ;
Zeile 45: Zeile 45:
                         86400  ;
                         86400  ;
                     )
                     )
         IN NS      ns.it100.int.
         IN NS      ns.it113.int.
21 IN PTR ns.it100.int.
21 IN PTR ns.it113.int.
22 IN PTR www.it100.int.
22 IN PTR www.it113.int.
</pre>
</pre>

Version vom 13. März 2025, 15:46 Uhr

Auf den Nameservern

Folgende Option zur /etc/bind/named.conf.options hinzufügen
       forwarders { 192.168.6.88; };
       empty-zones-enable no;
  • cat /etc/bind/named.conf.local
zone it113.int IN {
     type master;
     file "it113.int";
};

zone 113.88.10.in-addr.arpa IN {
     type master;
     file "113.88.10.in-addr.arpa";
}


  • cat /var/cache/bind/it113.int
$TTL 300
@ 		  IN SOA  ns technik.xinux.de. (
                        2011090204  ;
                        14400   ;
                        3600    ;
                        3600000 ;
                        86400   ;
                    )
        IN NS      ns
ns      IN A       10.88.113.21
www     IN A       10.88.113.22
  • cat /var/cache/bind/113.88.10.in-addr.arpa

$TTL 300
@ 		  IN SOA  ns.it113.int. technik.xinux.de. (
                        2011090204  ;
                        14400   ;
                        3600    ;
                        3600000 ;
                        86400   ;
                    )
        IN NS      ns.it113.int.
21	IN	PTR ns.it113.int.
22	IN	PTR www.it113.int.