Enabled public domain address checking only in production mode.