Posted On December 6, 2019

Dev Environment Technitium DNS Server

kimconnect 0 comments
blog.KimConnect.com >> Linux , Networking >> Dev Environment Technitium DNS Server

Windows:

$technitiumPortableDownload="https://download.technitium.com/dns/DnsServerPortable.zip"
$tempDir="C:\Temp";
$extractionDir="C:\Technitium"
$destinationFile = "$tempDir\DnsServerPortable.zip";
try{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}catch{}
New-Item -ItemType Directory -Force -Path $tempDir
New-Item -ItemType Directory -Force -Path $extractionDir
$webclient = New-Object System.Net.WebClient;
$WebClient.DownloadFile($technitiumPortableDownload,$destinationFile);
expandZipfile $destinationFile -Destination $extractionDir

Linux Manual methods:

# Download Technitium DNS Server portable
wget https://download.technitium.com/dns/DnsServerPortable.tar.gz sudo mkdir -p /etc/dns/ sudo tar -zxf DnsServerPortable.tar.gz -C /etc/dns/
# Call DNS Server Daemon from startup script
cd /etc/dns/ sudo ./start.sh

# Systemd
sudo cp /etc/dns/systemd.service /etc/systemd/system/dns.service sudo systemctl enable dns.service sudo systemctl start dns.service
# Monitor the service
journalctl --unit dns --follow

Ubuntu:

curl -sSL  | sudo bash

Raspbian

curl -sSL  | sudo bash

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

How to Add Printers on Linux Mint 20

Overview: The Common Unix Printing System (CUPS) is an open source printing system developed by…

PowerShell: Get Ports to Process Connections / Associations

Current Iteration: Here is a quick snippet to enable Network Engineers and Systems dudes to…

How to Copy and Paste in VIM / VI

While reading or in editing mode, press ESC twice Move the cursor to the desired…