Fix crash on startup when no nameservers provided
Update debug output