Fix NPE during DNS reload logging