code/script to run mdns as a headless daemon on a server and read a conf file to program it