I am writing a program to use dnsmasq as a tool to perform dns querry.
I was able to write some functions like those:
void writeConfiguration(string a