Real (epsilon') and imaginary (epsilon '') parts of the complex dielectric permittivity (epsilon*) of the liquid crystal (LC) 4-n-decyl-4(')-cyanobiphenyl (10CB) embedded in Anopore membranes and Vycor porous glass, as well as dispersed with hydrophilic aerosils, have been studied by means of broadband dielectric spectroscopy in the frequency range from 10(-2) Hz to 1 GHz. In bulk 10CB, which has a direct transition from an isotropic to a smectic-A phase, there exists one main relaxation process for the parallel orientation of the director with respect to the probing field and a faster one for the perpendicular orientation. All molecular relaxation processes in 10CB are of Debye type and have Arrhenius like temperature dependence. For 10CB embedded in untreated and surface treated cylindrical pores of Anopore membranes the dielectric spectra are similar to the bulk with the exception that both the rotation around the short axis and the libration motion are faster in the pores. In the case of 10CB dispersed with two different concentrations of hydrophilic aerosils an emergence of a slow relaxation process, which is stronger for the higher concentration, is additionally observed along with the bulklike processes. The slow process in the LC-hydrophilic aerosil system is attributed to the relaxation of the molecules that are homeotropically aligned close to the surfaces of the aerosil particles. This process also has an Arrhenius type of temperature dependence. For 10CB embedded in narrow channels of Vycor porous glass three relaxation processes are observed. Two of these processes are bulklike and are due to the librational motion of molecules and the rotation of molecules around their short axes. The slowest process seems to be a surface process, similar in origin to that observed for 10CB dispersed with hydrophilic aerosils, and is prominent amongst all. The material in the Vycor porous glass could be supercooled by at least 185 degrees below bulk crystallization temperature. The slow process has a Vogel-Fulcher-Tamman (VFT) type of temperature dependence typical for glass formers in this wide temperature range. In addition, the bulklike processes are found to be strongly modified and also have a VFT like temperature dependence from measurements done in a wide temperature range. This behavior is in contrast to other reports of glassy behavior in confined LC, where the glassy behavior as concluded from a slow relaxation process observed in a narrow temperature range.