ULTRIX 3.0

Kevin J. Dunlap - DECwest Engineering kjd at rust.DEC.COM
Tue Jan 31 06:21:11 AEST 1989


Reply-to: kjd at rust.DEC.COM (Kevin J. Dunlap - DECwest Engineering)



>>?From: hubcap at hubcap.UUCP (Mike Marshall)
>>?	...
>>?
>>?I checked the man page for gethostent, and they're still using the
>>?old-style hostent structure in netdb.h that has the single dimensional
>>?h_addr... I wonder how their sendmail handles MX records? (hmmm... I wish
>>?I was in my office where the manuals are... I wonder IF it handles MX
>>?records...)

The Ultrix V3.0 manual page for gethostent is wrong.  
The Ultrix V3.0 /usr/include/netdb.h has the correct multi dimensional 
list of host addresses.

Looks like the gethostent manual page did not get updated with the new hostent
data structure.  The hostent structure for Ultrix V3.0 is the same as 
4.3BSD & systems running BIND:

struct	hostent {
	char	*h_name;	/* official name of host */
	char	**h_aliases;	/* alias list */
	int	h_addrtype;	/* host address type */
	int	h_length;	/* length of address */
	char	**h_addr_list;	/* list of addresses from name server */
#define	h_addr	h_addr_list[0]	/* address, for backward compatiblity */
};

MX support is in Ultrix V3.0 sendmail!!

-Kevin Dunlap  kjd at decwrl.DEC.COM



More information about the Comp.unix.ultrix mailing list