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

Juniper Configuration

Piece of cake - no need to write anything here.

Hyper-V Dependency on Docker’s Networking Bridge Drivers

Background: Some naive systems engineer (yours truly) has provisioned a buck load of Hyper-V servers…

Enable Hibernation Option on Linux Mint 20

At first glance, one would be tempted to simply expand an existing a /swapfile as…
Other project: DragonCoin.com