Using dnsmasq with circleci


#1

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

I see the following error when I try to reload dnsmasq

#!/bin/bash
sudo sh -c ‘systemctl reload dnsmasq’

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

Any ideas?


#2

You might need to use the machine executor for this, because there are some permissions issues in docker around networking. https://circleci.com/docs/2.0/executor-intro/#machine