Comments (3)
AFAIK you can run Technitium DNS as an unprivileged user of your choice, but you will have to give that user/group permissions on the Technitium DNS directories (/etc/dns and /opt/technitium/dns), plus you will have to change the configuration of the service (systemd or any other way you start it) by specifying the new uid/gid.
However, the above works as long as you open a non-standard DNS port whose value is above 1024. If you need to open the standard DNS port (53) you will have to give the dotnet executable the capability to open privileged ports. Something like:
sudo setcap CAP_NET_BIND_SERVICE=+eip $(realpath $(which dotnet))
Be aware that by doing that you will give the privilege to any .NET application running on the host, not just to Technitium DNS.
from dnsserver.
Thanks for the request. Will get the script updated in later releases.
from dnsserver.
I can confirm that the tips provided by @Wrong-Code do work when manually applied, @ShreyasZare I'm willing to test pre-release versions of a new install script.
from dnsserver.
Related Issues (20)
- [Feature Request] Add serve-expired option HOT 11
- Help, Looking for DHCP scope config file location HOT 2
- Mixed Forwarders HOT 2
- Proxy Seems to time out. HOT 2
- HTTP to HTTPS redirection using wrong hostname HOT 1
- how to support nslookup to another network HOT 1
- Failover App does not what I expect. HOT 1
- Allow / Block List URLs do not work as expected HOT 4
- [Feature Request] Allow specific domains/records to bypass cache HOT 3
- [QUESTION] What to do to run dns using podman? HOT 3
- malware warning HOT 8
- Feature Request: Emulating bind9 filter-aaaa HOT 1
- RFC 2136 Unable To Delete Entries on Conditional Forwarding Zone HOT 3
- Server fail due to incorrect DNSSEC failure HOT 2
- Can you provide doc for setting up Technitium DNS Server. Because I still cannot get the right DNS record even using DNS-over-TOR. HOT 2
- SOA Record Root HOT 4
- Request geosite support HOT 3
- How to setup DNS name resolver using Technitium first, if not find, then use 8.8.8.8 HOT 4
- HTTP to HTTPS redirection can brick the web interface HOT 15
- Feature request: ability to sort DNS entries by "last used" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnsserver.