Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - piepre

#1
Quote from: NeoDragon on July 02, 2025, 02:32:02 AMSo, i managed to install technitium with this guide, with a few hiccups.
The start job is not working, i need to start it manually.

I can't figure out how to make DHCP work with this too.. anyone?
I changed my start job to:
#!/bin/sh
cd /opt/technitium/dns/
./start.sh > /dev/null 2>&1 &
I do not use the technitium dhcp, but I'll test it in the next days...
#2
Hello,
I am in the process of migrating to OPNsense. Since I am already running a Technitium DNS server (https://technitium.com/dns/) in a Docker container, I wondered if I could simply run a secondary DNS on the OPNsense. It worked directly with bind (+unbound), but I was not satisfied because I was missing the filters for ADS.
There is a repository for ADGuard, but I switched to Technitium DNS Server about a year ago because I wanted full zone management. I had no previous experience with OPNsense/FreeBSD as I only use Debian Linux. However, the documentation made it relatively easy to install the Technitium DNS Server. Below are the necessary steps (I did it on a virtual opnsense test/dev machine):

- build port dotnet8
cd /usr/ports/
mkdir packages
opnsense-code tools src ports
cd lang/dotnet8
make package
... wait ...
- install dotnet8 and run technitium dns server
make install
cd
fetch https://download.technitium.com/dns/DnsServerPortable.tar.gz
zfs create zroot/opt
zfs set mountpoint=/opt zroot/opt
tar -zxf DnsServerPortable.tar.gz -C /opt/technitium/dns/
cd /opt/technitium/dns
./start.sh
- build packages
cd /usr/ports/lang/dotnet8
pkg create -a -o /usr/ports/packages/
- TODO: create a pkg repository
- for now I copied the following pkg-files to my productive OPNsense via scp and manually installed the with pkg install <package>
compat13x-amd64-13.2.1302001.20231227.pkg
dotnet-host-9.0.2.pkg
dotnet8-8.0.6_3.pkg
node22-22.14.0.pkg
terminfo-db-20231209.pkg
- autostart dns server; create file /usr/local/etc/rc.syshook.d/start/90-dns
#!/bin/sh
/opt/technitium/dns/start.sh > /dev/null 2>&1 &