Add reading from dns info from /etc/resolv.conf

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>