Using dnsmasq with circleci


I need to use dnsmasq in order to set up dns entries.

I see the following error when I try to reload dnsmasq

sudo sh -c ‘systemctl reload dnsmasq’

Failed to get D-Bus connection: Unknown error -1
Exited with code 1

Any ideas?


You might need to use the machine executor for this, because there are some permissions issues in docker around networking.