Add dns bundle and unit test

Don't put variable in global scope thanks!