新建一下文件 yp.conf
# domain NISDOMAIN server 192.168.0.254
cleantha cleantha cleantha cleantha cleantha cleantha cleantha cleantha cleantha cleantha # domain NISDOMAIN server 192.168.0.254 cleanthacat yp.conf | grep '^# d'
输出
# domain NISDOMAIN server 192.168.0.254
# domain NISDOMAIN server 192.168.0.254 cleantha