Klarsicht/ANC-1/Syne/homology (KASH)/Sad-1/UNC-84 (SUN) protein pairs can act as connectors between cytoplasmic organelles and the nucleoskeleton. Caenorhabditis elegans ZYG-12 and SUN-1 are essential for centrosome-nucleus attachment. Although SUN-1 has a canonical SUN domain, ZYG-12 has a divergent KASH domain. Here, we establish that the ZYG-12 mini KASH domain is functional and, in combination with a portion of coiled-coil domain, is sufficient for nuclear envelope localization. ZYG-12 and SUN-1 are hypothesized to be outer and inner nuclear membrane proteins, respectively, and to interact, but neither their topologies nor their physical interaction has been directly investigated. We show that ZYG-12 is a type II outer nuclear membrane (ONM) protein and that SUN-1 is a type II inner nuclear membrane protein. The proteins interact in the luminal space of the nuclear envelope via the ZYG-12 mini KASH domain and a region of SUN-1 that does not include the SUN domain. SUN-1 is hypothesized to restrict ZYG-12 to the ONM, preventing diffusion through the endoplasmic reticulum. We establish that ZYG-12 is indeed immobile at the ONM by using fluorescence recovery after photobleaching and show that SUN-1 is sufficient to localize ZYG-12 in cells. This work supports current models of KASH/SUN pairs and highlights the diversity in sequence elements defining KASH domains.