News for hackers. Stuff that matters.
Re:OpenBSD System-Call Pinning by ninkendo on Friday February 02, 2024 @10:44PM (#39237358)
> The vendor specific ad hoc mechanisms for extending DNS in a site local context are not well supported

DNS is one of those things that OS vendors think should be extendable and configurable. It allows VPN apps to redirect DNS only for certain subdomains, for example, which enables proper split-horizon DNS. I think this is totally reasonable behavior, and it’s undeniably useful. If a particular programming language reimplements DNS on its own, you lose guarantees that the OS is striving to provide to the user.

You can make the case that OS’s shouldn’t make these guarantees, and we’re free to disagree on that, but from a practical standpoint it is a very useful feature and it sucks that pure Go apps don’t work with it.

Re:OpenBSD System-Call Pinning by wbl on Saturday February 03, 2024 @02:04AM (#39238165)
The right way to do this is specify a resolver to use on localhost
Re:OpenBSD System-Call Pinning by treffer on Saturday February 03, 2024 @08:08AM (#39240015)
Or you make the case that the OS should ship a DNS server. It can handle DNS forwarding and iterative queries anyway (iterative queries as you often need them for dnssec) and the logic for serving DNS responses is ok'ish (DNS name dedup and length restrictions being the biggest complexity issue).

I am not super happy with systemd-resolved but it solves this particular issues. No requirement to use libc, but same (os configurable) behavior for all users.

Re:OpenBSD System-Call Pinning by tptacek on Saturday February 03, 2024 @11:14AM (#39241698)
The difficulty and overhead of running those queries from everybody's phones is one of the reasons (a small reason, but one of them) DNSSEC isn't deployed.