Fix NPE during DNS config reload