Allow for custom dns in unittest
Better ordering of processes.