Kotiverkon suojaaminen Raspberry Pi:n DNS-palvelun avulla
Suutala, Aleksi (2023)
Suutala, Aleksi
2023
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-202305037478
https://urn.fi/URN:NBN:fi:amk-202305037478
Tiivistelmä
Opinnäytetyön tavoitteena oli rakentaa mahdollisimman turvallinen, kevyt ja kustannustehokas DNS-palvelin ratkaisu, jolla pyrittiin estämään tehokkaasti haitalliset verkkosivustot, seuraimet ja mainonta sisäverkkoon kytketyillä päätelaitteilla. Työssä päädyttiin käyttämään tämän tavoitteen saavuttamiseksi Adguard Home nimistä ohjelmistoa ja Raspberry Pi:tä.
Tässä opinnäytetyössä käytiin ensiksi yleisesti läpi, mikä on Raspberry Pi, sen historia ja julkaistut mallit. Tämän jälkeen siirryttiin käsittelemään DNS:n historiaa, toimintaperiaatetta ja DNS-palvelintyyppejä. Perehdyttiin myös DNS:n suojaaviin protokolliin ja tietoturvalaajennuksiin. Näiden jälkeen käsiteltiin DNS-sinkhole-palvelin, sen toiminta ja DNS-palvelinohjelmistot, jotka olivat mahdollista asentaa Raspberry Pi:lle. Lopuksi syvennyttiin miten ja miksi palvelin otetaan käyttöön ja millaisia tuloksia tällä palvelimella saavutettiin. The aim of the thesis was to build secure, lightweight, and cost-effective DNS server solution as possible to effectively block malicious websites, followers and advertising on endpoints connected to the internal network. To achieve this goal, a software called Adguard Home and Raspberry Pi was used.
In this thesis, first was discussed in general terms what a Raspberry Pi is, its history and the models that have been released. Then moved on to the history of DNS, how it works and the types of DNS servers. Also looked at the protocols and security extensions that protect DNS. This was followed by a discussion of the DNS sinkhole server, how it works and the DNS server software that could be installed on the Raspberry Pi. Finally, we had dived into how and why to deploy the server and what results were achieved with this server.
Tässä opinnäytetyössä käytiin ensiksi yleisesti läpi, mikä on Raspberry Pi, sen historia ja julkaistut mallit. Tämän jälkeen siirryttiin käsittelemään DNS:n historiaa, toimintaperiaatetta ja DNS-palvelintyyppejä. Perehdyttiin myös DNS:n suojaaviin protokolliin ja tietoturvalaajennuksiin. Näiden jälkeen käsiteltiin DNS-sinkhole-palvelin, sen toiminta ja DNS-palvelinohjelmistot, jotka olivat mahdollista asentaa Raspberry Pi:lle. Lopuksi syvennyttiin miten ja miksi palvelin otetaan käyttöön ja millaisia tuloksia tällä palvelimella saavutettiin.
In this thesis, first was discussed in general terms what a Raspberry Pi is, its history and the models that have been released. Then moved on to the history of DNS, how it works and the types of DNS servers. Also looked at the protocols and security extensions that protect DNS. This was followed by a discussion of the DNS sinkhole server, how it works and the DNS server software that could be installed on the Raspberry Pi. Finally, we had dived into how and why to deploy the server and what results were achieved with this server.