Bind Konfiguration (Linux): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 63: Zeile 63:


[https://wiki.ubuntuusers.de/DNS-Server_Bind/ https://wiki.ubuntuusers.de/DNS-Server_Bind/]
[https://wiki.ubuntuusers.de/DNS-Server_Bind/ https://wiki.ubuntuusers.de/DNS-Server_Bind/]
[https://forum.ubuntuusers.de/topic/keine-dns-aufloesung-mit-ovpn-und-bind/ https://forum.ubuntuusers.de/topic/keine-dns-aufloesung-mit-ovpn-und-bind/]




Zurück zu [[Ubuntu]]
Zurück zu [[Ubuntu]]

Version vom 18. Juni 2016, 15:08 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/

https://forum.ubuntuusers.de/topic/keine-dns-aufloesung-mit-ovpn-und-bind/


Zurück zu Ubuntu