firedns_dnsbl_lookup man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

firedns_dnsbl_lookup(3)				       firedns_dnsbl_lookup(3)

NAME
       firedns_dnsbl_lookup  -	Create a query to look up an IP in a DNS-based
       blacklist

SYNOPSIS
       #include <firedns.h>
       -lfiredns

       int firedns_dnsbl_lookup(const struct in_addr *ip, const char  *	 const
       name)

DESCRIPTION
       firedns_dnsbl_lookup()  creates	and sends a request to resolve the TXT
       record of the entry of ip in the DNS-based blacklist name.  It  returns
       a  file	descriptor  that should be select(2)'ed upon (read set).  When
       the file descriptor shows ready for reading  call  firedns_getresult(3)
       to  retrieve the results.  The result will be a char * with the message
       from the listing server, or NULL if the IP address is not listed.

RETURN VALUE
       Returns an integer file descriptor that can be used  the	 same  as  any
       other file descriptor.  Returns -1 on error.

AUTHOR
       Ian Gulliver <ian@penguinhosting.net>

SEE ALSO
       libfiredns(3), firedns_getresult(3), select(2)

				  2002-03-31	       firedns_dnsbl_lookup(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net