Bind Konfiguration (Linux): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 44: | Zeile 44: | ||
sudo /etc/init.d/bind9 start | sudo /etc/init.d/bind9 start | ||
</pre> | </pre> | ||
=== Testen === | |||
==== Forward Lookup ==== | |||
<pre> | |||
dig @127.0.0.1 <name>.<domain> | |||
<pre> | |||
==== Reverse Lookup ==== | |||
<pre> | |||
dig @127.0.0.1 -x <ip address> | |||
<pre> | |||
== Links == | == Links == |
Version vom 23. April 2016, 10:01 Uhr
Noch in Bearbeitung
Installation
sudo apt-get install bind9
Konfiguration
Server erst mal stoppen:
sudo /etc/init.d/bind9 stop
Datei für den Forward-Lookup anlegen:
sudo nano /etc/bind/db.<domain>
Datei für den Reverse-Lookup anlegen:
sudo nano /etc/bind/db.0.0.10
sudo nano /etc/bind/named.conf.local
zone <domain>" { type master; file "/etc/bind/db.<domain>"; }; zone "0.0.10.in-addr.arpa" { type master; file "/etc/bind/db.0.0.10"; };
sudo /etc/init.d/bind9 start
Testen
Forward Lookup
dig @127.0.0.1 <name>.<domain>Reverse Lookup
dig @127.0.0.1 -x <ip address>Links
https://wiki.ubuntuusers.de/DNS-Server_Bind/ Zurück zu Ubuntu