News for hackers. Stuff that matters.
Re:The Sisyphean Task of DNS Client Config on Linux by ptomato on Thursday April 15, 2021 @08:44PM (#26827997)
sure, but that's why BPF is so great; I'd guess a reasonable program that assumes port 53, parses the packet enough to look at the first question and compare domain against .internal and then rewrites address + updates checksum is maybe... 300-400 LOC? can probably get a bit fancier, but it shouldn't be too painful to write and will execute plenty fast enough.

There are no comments on this comment yet.