Add some check for the dnsmasq config file and process

On Ubuntu (or others) 2 processes dnsmasq are launched. We want the one
where --dchp-hostsfile is specified.

We want to check before any action the dnsmasq config file in order not
to crash at the end of the creation.