code: public static base_response disable(nitro_service client, dnsnameserver resource) throws Exception {
  		dnsnameserver disableresource = new dnsnameserver();
  		disableresource.ip = resource.ip;
  		disableresource.dnsvservername = resource.dnsvservername;
  		return disableresource.perform_operation(client,"disable");
  	}
docs: Use this API to disable dnsnameserver.