3 ms·
(note, more than half of the code is in reading the hosts file and parsing resolv.conf, so DNS itself is about 200 lines)
by ori_b 7y ago
(note, more than half of the code is in reading the hosts file and parsing resolv.conf, so DNS itself is about 200 lines)