From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c6b5dc1186cfec2b,start X-Google-Attributes: gidfee84,public From: karp@cabernet.harvard.edu (Brad &) Subject: NIS server on OSF 3.0; how to generate DNS queries? Date: 1995/05/29 Message-ID: #1/1 X-Deja-AN: 103417164 distribution: world organization: Harvard University, GLAN Systems Group newsgroups: comp.unix.osf.osf1 Our network environment in my research group includes several DEC Alpha workstations and several Sun workstations. We formerly used a Sun NIS server for our whole subnet, and we configured the NIS database Makefile on the NIS server to pass the -b flag to makedbm so that the server would generate DNS requests for names not resolvable in the NIS hosts maps. We now need to use an OSF/1 3.0 Alpha machine as a slave NIS server for a subnet. The /etc/svc.conf file in OSF/1 3.0 appears to allow _client_ machines to search via DNS if NIS fails to return a match for a hostname, but it is my understanding that ypserv does _not_ pay attention to /etc/svc.conf, but only looks in the NIS maps and returns a match failure when no match is found. Because our Sun machines aren't easily configurable to generate DNS requests themselves when NIS lookups fail (the shared libraries need to all be changed to use DNS _instead_ of NIS, which isn't what we want the Sun clients to do), we really need our OSF/1 3.0 ypserv process to mimic the Sun behavior of generating DNS requests on behalf of its NIS clients when necessary. makedbm in OSF/1 3.0 does not appear to take the -b flag to mark a map as allowing DNS request generation the way SunOS makedbm does. Furthermore, when we ypxfr the hosts maps from the master Sun machine, the Alpha either strips the -b flag in the dbm files or leaves it in, but ypserv ignores it. It seems like there _must_ be a way to force an OSF/1 ypserv process to generate DNS requests when NIS hosts map lookups fail. Does anyone know how to do this? -- Brad Karp | "[Compiled FORTRAN gives] as good | home (617) 661-4979 CS Grad Student, n=3 | programs as human coders, but | ofc. (617) 496-4513 karp@das.harvard.edu | without the errors." -Backus, 1957 \____________________