Re: Dig/host and whois like functionality
Re: Dig/host and whois like functionality
- Subject: Re: Dig/host and whois like functionality
- From: Peter Sichel <email@hidden>
- Date: Fri, 25 Oct 2013 13:18:14 -0400
Hello,
I’m the developer of IPNetMonitorX which provides similar features. My suggestion in your case is to use the unix command line tools as your API. Command line tools are not an ideal API, but they are generally well documented and stable. In my experience, they work well enough if your performance requirements aren’t too extreme. Most of these unix tools are open source so you can tweak them to use the source code directly if you prefer, but then you’ll have to maintain your own versions.
You can also write your own Name Server query tool to process responses from name servers directly, but it’s a fair amount of work so you’ll need to judge the value of that investment. I’ve done it both ways.
Kind Regards,
- Peter
On Oct 24, 2013, at 5:25 PM, Laurent Cerveau <email@hidden> wrote:
> In my app (MAcOS X) I need to implement functionality that basically is equivalent to the combination of whois and host/dig, mainly to get this info in a application level UI as a commodity. Having digged a little it seems the path to go is to use DNSService. However and strangely enough, I have hard time finding a sample code for this and this framework (outside of the context of Bonjour). Am I looking in the right direction with DNSService or more classical UNIX API should be better? If the former, is there a sample code that could help me?
>
> Thanks
>
> laurent
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Macnetworkprog mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden