[PATCH v2 2/4] Parse resolv.conf with new lineread implementation