dnswl: moved config loading into function w/cb
Merge pull request #749 from msimerson/dnswl

dnswl: moved config loading into function w/cb