*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> res_hnok (3c)              
Title
Content
Arch
Section
 

Contents


RES_HNOK(3C)							  RES_HNOK(3C)


NAME    [Toc]    [Back]

     res_hnok, res_ownok, res_mailok, res_dnok - name service record validity
     routines

SYNOPSIS    [Toc]    [Back]

     #include <resolv.h>

     int res_hnok(char *dn);

     int res_ownok(char	*dn);

     int res_mailok(char *dn);

     int res_dnok(char *dn);

DESCRIPTION    [Toc]    [Back]

     Helper functions that determine the validity of a few types of nameservice
 related records.  Functions return	1 for valid, 0 for invalid.

     res_hnok determines if the	given argument is a valid hostname.  res_ownok
     is	similar, but allows for	"*" in the first label.	 For example:
     *.sgi.com.	 This is appropriate for A or MX record	owners.	 res_mailok
     allows for	any printable characters in the	first label.  The rest of the
     name must look like a valid hostname.  Useful for SOA RNAMEs and RP
     RNAMEs.  Finally, res_dnok	follows	RFC 1034 for valid domain name
     characters.

FILES    [Toc]    [Back]

     /etc/resolv.conf

SEE ALSO    [Toc]    [Back]

      
      
     resolver(4), named(1M).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
acl_valid Tru64 Checks an ACL for validity
DTtcvalid IRIX check a dat timecode for validity
testprns.1 IRIX check printer name for validity with smbd
named-checkzone HP-UX zone validity checking tool
mvalid Tru64 Check memory region for validity
named-checkzone OpenBSD zone file validity checking tool
chkprintcap FreeBSD check validity of entries in the print spooler database
rpcb_rmtcall NetBSD library routines for RPC bind service
rpcb_unset NetBSD library routines for RPC bind service
rpcb_gettime FreeBSD library routines for RPC bind service
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service