3 ms·
I also run my own recursive DNS server on a VPS I rent, but I freely share it with other users of the Internet. This causes my "personal" signal of queries to a
by c0l0 1y ago
I also run my own recursive DNS server on a VPS I rent, but I freely share it with other users of the Internet. This causes my "personal" signal of queries to authoritative servers to effectively disappear, and I also (marginally) benefit from caching effects of other users' lookups.
- victorbjorklund 1y agoAre there any security risks with sharing it wiyh others?
- c0l0 1y agoWell, concerning technical risks, DNS Cache Poisoning[0] is a thing - but I keep the software implementing my recursive DNS service up to date very eagerly, so I guess the risk of falling victim to such an attack is rather low. [0]: https://en.wikipedia.org/wiki/DNS_spoofing#Cache_poisoning_attacks https://en.wikipedia.org/wiki/DNS_spoofing#Cache_poisoning_a...
- exiguus 1y agoI haven't taken this step yet, but I have considered it. Could you recommend whether I should share the service on a list such as dnscrypt.info/public-servers?
- c0l0 1y agoI was not aware of such a directory existing in the first place :) I only advertise "my" service (it only implements DNS and DoT) through word of mouth in communities I participate in.
- immibis 1y agoHow do you secure it against being used as a reflector in a UDP amplification attack?
- toast0 1y agoProbably rate limits, making sure response minification is fully enabled, and maybe set a low truncation size? You can't run a public service without reflecting something, but you can endeavour to make the reflection ratio small.
- exiguus 1y agodnsdist support QPS limits [1] and eBPF filtering [2]. And you can use dynamic Rules to drop traffic and there are several rules to set UDP and TCP limits. A in production config looks like: https://github.com/freifunkMUC/ffmuc-salt-public/blob/main/dnsdist/dnsdist.conf.j2 https://github.com/freifunkMUC/ffmuc-salt-public/blob/main/d... [1] https://www.dnsdist.org/advanced/qpslimits.html https://www.dnsdist.org/advanced/qpslimits.html [2] https://www.dnsdist.org/advanced/ebpf.html https://www.dnsdist.org/advanced/ebpf.html