DNS Client Software

  • Thread starter Thread starter John Coutts
  • Start date Start date
J

John Coutts

Does anyone know of a library file for use with VB that will return all the
resource records for a DNS lookup? HostByName and HostByAddress just don't cut
it.

J.A. Coutts
Systems Engineer
MantaNet/TravPro
 
Hi John,

Here is a tutorial plus source code on everything you want
to know on how to build a dns client on VB :-)
http://www.vbip.com/protocols/dns/vb-dns-tutorial-01.asp

You can contact me if you need help as the codes are a bit
tricky. (just remove the word nospam from my e-mail)

Hi William Stacey,

Excellent tools at http://www.mvptools.com/
Hope you can also come up with some tutorials on using
your upcoming MvpTools.Net Class Library for people like
me who is not .Net ready :-)

cheers,
SeanK
-----Original Message-----
I have one. Let me get the doco right and I post it up
at www.mvptools.com.
 
As a matter of fact, that tutorial was what I used to develope my own DNS
Client program. The tutorial was excellant, but the program itself had
performance issues that made it unsuitable for my application. That's why I was
looking for a DLL.

So I decided to see what I could do to improve on it. I retained the UI in it's
basic original form, but I completely rewrote the socket portion. I used the MS
Winsock control, reduced it to one single Class Module and one support BAS
module and got it functional. But I still had performance issues which I only
just resolved this weekend. I did away with all the Collections and objects and
implemented one single Public Variant array to store the parsed data, and low
and behold the performance issues seem to have disappeared. I normally don't
like to use Variants because they are inefficient, but in this case the
advantages outweighed the disadvantages.

J.A. Coutts
******************** REPLY SEPARATER **********************
 
Looks like you are way ahead of me. For me, I use only the
codes at the backend and changed the frontend. Basically I
use it as an advance nslookup client together with dnscmd
to automate the mass creations of DNS records.
Interesting, so far I did not encounter any performance
issue.. maybe i am using it as a batch process system so I
did not test on performance.

I am keen to know why you need your own DNS client? Care
to share how u use it?

I also remember seeing third party dll and api for VB on
the internet but those cost money so I never explore any
of them. You can google for it.
-----Original Message-----
As a matter of fact, that tutorial was what I used to develope my own DNS
Client program. The tutorial was excellant, but the program itself had
performance issues that made it unsuitable for my application. That's why I was
looking for a DLL.

So I decided to see what I could do to improve on it. I retained the UI in it's
basic original form, but I completely rewrote the socket portion. I used the MS
Winsock control, reduced it to one single Class Module and one support BAS
module and got it functional. But I still had performance issues which I only
just resolved this weekend. I did away with all the Collections and objects and
implemented one single Public Variant array to store the parsed data, and low
and behold the performance issues seem to have disappeared. I normally don't
like to use Variants because they are inefficient, but in this case the
advantages outweighed the disadvantages.

J.A. Coutts
******************** REPLY SEPARATER **********************
 
Back
Top