Feb
15
15
Basics of how to make personalized online dns tools?
Can someone point to some instructions on how to make online DNS tools? I’d like to make something similar to dnsstuff.com — not necessarily because I think I can do it better, but because I’d like to understand how a site like that would work. I think I’ll probably need to use perl. Are there any online tutorials for crafting these types of tools?



OK, I did/do this for my home based server
I set up a Scheduled task every 20 mins.that calls a batch script, it reads:
get
(remote.com is not the real address)
The batch script uses the get function from LWP module of Perl that is installed on my computer/( home server)
This just calls a Perl script (come_from.pl ) on a Remote Web accessible machine that I have access to.
That Perl script grabs the IP of the calling batch script
It then writes it to a .html file where anyone I refer can go to find My IP, or click a link that takes them to my dynamic IP.
I’d post the code but it is extremely unlikely that you will have this set-up yourself.
Grabbing the IP in Perl just uses the Server Variable
$ENV{’REMOTE_ADDR’}
For this to work you need some sort of script/program on local machine that either runs all the time in the background making regular calls to a web-accessable script, or is scheduled in some way to run every few minutes.
THe Perl script (it could be any scripting language) must write to a file that can be accessed via a URL.
That’s it in essence -quite simple really once you break it down.
Do it, try using Windows scripting language instead of Perl LWP on your home machine
Good Luck