Bug 950888 - Check for null DNS results before using them. r=mcmanus