If you want to configure an NIS client inside a DMZ that uses NIS server(s) that are not in the DMZ that is really no different than configuring any NIS client that is in another subnet.
Modify /etc/rc.config.d/namesvrs
NIS_MASTER_SERVER=0
NIS_SLAVE_SERVER=0
NIS_CLIENT=1
NIS_DOMAIN="YOUR_DOMAIN_NAME"
YPBIND_OPTIONS="-ypsetme -s"
YPSET_ADDR="10.20.30.1" # IP Address of NIS server
/sbin/init.d/nis.client stop
/sbin/init.d/nis.client start
If it ain't broke, I can fix that.