close the file properly
Add dnsmasq and openresolv configuration files