Add resolv.conf example file
readme: add setcap invocation to allow binding to port 53
readme: add short building section
A local DNS resolver. Designed to forward DNS requests to a DNS-over-TLS or DNS-over-HTTPS server.
To listen for local connections on port 53 and forward requests to ns0.fdn.fr:
lodns ns0.fdn.fr
lodns itself will need to perform DNS queries to lookup the DoT or DoH
hostname. To set the resolv.conf
file to use for these lookups, the
-bootstrap-resolv-conf
option can be used. For instance, to use the local DNS
resolver with NetworkManager:
lodns -bootstrap-resolv-conf=/run/NetworkManager/no-stub-resolv.conf ns0.fdn.fr
The system-wide /etc/resolv.conf
file can be symlinked to the resolv.conf
file in this repository to configure applications with lodns.
go build
To allow lodns to listen on port 53:
setcap cap_net_bind_service=+ep ./lodns
AGPLv3 only, see LICENSE.
Copyright © 2023 Simon Ser