Rework resolv.conf handling, error out on wrong symlinks. [Closes: issue984]