Re: Query a DNS in C
From: SM Ryan (wyrmwif_at_tango-sierra-oscar-foxtrot-tango-dot-charlie-oscar-mike.fake.org)
Date: 04/16/04
- Next message: Bart Smaalders: "Re: Unimplemented members of rusage structure in Solaris"
- Previous message: David Schwartz: "Re: Simple Ping in 'C'"
- In reply to: Jem Berkes: "Re: Query a DNS in C"
- Next in thread: Jem Berkes: "Re: Query a DNS in C"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 16 Apr 2004 04:00:04 -0000
# > I want to query a DNS within a C program to get the mail server
# > associated to a domain name, ie, the equivalent of the command 'host
# > -t mx <domain_name>'.
If you're interested in mixed C and Tcl code, I do a MX lookup for mailto
url processing.
http://www.rawbw.com/~wyrmwif/html/wyrm-uri.html#148
http://www.rawbw.com/~wyrmwif/html/wyrm-uri.html#101
Some day I'll go back and document it better.
-- SM Ryan http://www.rawbw.com/~wyrmwif/ If your job was as meaningless as theirs, wouldn't you go crazy too?
- Next message: Bart Smaalders: "Re: Unimplemented members of rusage structure in Solaris"
- Previous message: David Schwartz: "Re: Simple Ping in 'C'"
- In reply to: Jem Berkes: "Re: Query a DNS in C"
- Next in thread: Jem Berkes: "Re: Query a DNS in C"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|