DNS obsolete!
not with Raspberry Pi-hole®
-
SD-Karte mit installiertem Rasbian
Raspberry pi or
2020-02-13-raspbian-buster-full.zip
-
SSH-Client z. B. PuTTY
-
sudo nano /etc/network/interfaces
add ip address
-
Source: ionos
-
sudo apt-get install bind9 bind9utils dnsutils
-
sudo nano /etc/bind/named.conf.local
zone "home.lan" IN {
type master;
file "/etc/bind/db.home.lan";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.rev.1.168.192.in-addr.arpa";
};
-
sudo nano /etc/bind/db.home.lan
home.lan. IN SOA raspberry.home.lan. hostmaster.home.lan. (
2017081401 ; serial
8H ; refresh
4H ; retry
4W ; expire
1D ; minimum
)
home.lan. IN NS raspberry.home.lan.
home.lan. IN MX 10 raspberry.home.lan.
localhost IN A 127.0.0.1
raspberry IN A 192.168.a.b
router IN A 192.168.c.d
-
sudo nano /etc/bind/db.rev.1.168.192.in-addr.arpa
@ IN SOA raspberry.home.lan. hostmaster.home.lan. (
2017081401 ; serial
8H ; refresh
4H ; retry
4W ; expire
1D ; minimum
)
IN NS raspberry.home.lan.
1 IN PTR router.home.lan.
31 IN PTR raspberry.home.lan.
-
sudo nano /etc/bind/named.conf.options
forwarders {
85.214.20.141;
8.8.8.8;
};
-
sudo service bind9 restart
-
sudo update-rc.d bind9 defaults
-
ipfire Domain Name System
-
Click Add
-
Fill the IP address
and click "Save"