Instalacja bind9 – Instrukcja
Aktualizujemy server
update && apt upgrade
Instalacja bind9 Ubuntu/Debian/Linux Mint
apt-get install bind9 bind9utils bind9-doc
Po zakończonej instalacji ustawiamy server DNS nadrzędny w tym celu edytujemy plik /etc/bind/named.conf.options
nano /etc/bind/named.conf.options
Odkomenderowujemy „forwarders” i podajemy adres IP serverów DNS ja w tym przypadku ustawiłem adres DNS Google jako adres serwera, do którego nasz serwer będzie wysyłał zapytania, gdy nie będzie znał adresu IP danej domeny
options {
...
forwarders {
8.8.8.8;
8.8.4.4;
};
...
};
Następnie Resetujemy usługe
systemctl restart bind9