PowerDNS Recursor (Ubuntu): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 73: Zeile 73:
==== Links ====
==== Links ====


<pre>
[https://doc.powerdns.com/recursor/getting-started.html#configuring-the-recursor https://doc.powerdns.com/recursor/getting-started.html#configuring-the-recursor]
https://doc.powerdns.com/recursor/settings.html#forward-zones
 
</pre>
[https://doc.powerdns.com/recursor/settings.html#forward-zones https://doc.powerdns.com/recursor/settings.html#forward-zones]


=== /etc/dnsdist/dnsdist.conf ===
=== /etc/dnsdist/dnsdist.conf ===
Zeile 84: Zeile 84:


=== Links ===
=== Links ===
[https://doc.powerdns.com/recursor/getting-started.html#configuring-the-recursor https://doc.powerdns.com/recursor/getting-started.html#configuring-the-recursor]


[https://doc.powerdns.com/authoritative/guides/recursion.html https://doc.powerdns.com/authoritative/guides/recursion.html]
[https://doc.powerdns.com/authoritative/guides/recursion.html https://doc.powerdns.com/authoritative/guides/recursion.html]

Version vom 24. Januar 2020, 01:08 Uhr

Noch in Bearbeitung


Allgemein

https://www.powerdns.com/recursor.html

Installation

Zuerst den PowerDNS Authoritive Server stoppen, da es sonst zu einer Fehlermeldung beim Starten des Recurser kommt, da bei den beide den Port 53 benutzen:

sudo systemctl stop pdns

Danach den Recurser installieren:

sudo apt-get install pdns-recursor

Im Anschluss daran diesen auch gleich wieder stoppen

sudo systemctl stop pdns-recursor.service

und den LoadBalancer dnsdist installieren:

sudo apt-get install -y dnsdist

Um mit der Konfiguration fortfahren zu können, den Service ebenfalls gleich wieder stoppen:

sudo systemctl stop dnsdist.service

Links

https://doc.powerdns.com/recursor/getting-started.html#installation

https://dnsdist.org/install.html

Konfiguration

/etc/powerdns/pdns.conf

sudo vi /etc/powerdns/pdns.conf
local-address=127.0.0.1
local-port=5300

/etc/powerdns/recursor.conf

sudo vi /etc/powerdns/recursor.conf
local-address=127.0.0.1
local-port=5301

forward-zones=example1.com=127.0.0.1:5300
forward-zones+=example2.com=127.0.0.1:5300

Links

https://doc.powerdns.com/recursor/getting-started.html#configuring-the-recursor

https://doc.powerdns.com/recursor/settings.html#forward-zones

/etc/dnsdist/dnsdist.conf

sudo vi /etc/dnsdist/dnsdist.conf

Links

https://doc.powerdns.com/authoritative/guides/recursion.html


Zurück zu Domain selbst verwalten