Wow. Thank you very much sir.
If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.
Register Today on DNForum IT'S FREE!Well, not really... which is why I wrote my own API for you guys to use with Dynadot. Now you don't have to spend $500/year and qualify for bulk pricing to be able to achieve automated registrations.
Instructions:That's it! Easy, huh?
- Go here to view the code.
- Create a file called dynadot.php, and copy/paste the code into it.
- Edit the username and password to match your Dynadot login credentials.
- Save the file and upload to your server.
Usage:
As the code is, it can register up to 10 domains in a single call like so:
and so on... until you get to domain9.PHP Code:http://www.yourdomain.com/dynadot.php?domain=abc.com&domain1=def.com&domain2=ghi.com&domain3=jkl.com
Requirements:
Supported TLDs: com, net, org, info, biz, mobi, tv, co.uk, asia, me, name, ws, us, cn, cc
- Your server must have PHP installed.
- Your Dynadot account must have enough credit to perform the registration.
Notes:
Enjoy!
- If you call the script too many times in one day, Dynadot will show a captcha near the login box and the script will no longer work. Wait 10 minutes or so and it will work again.
- If you post about this in your blog or on other forums, please give credit where credit is due, and provide a link back to DomainRaiders.com.
- Please do not remove the copyright notice on top.
- Please do not sell the script.
Wow. Thank you very much sir.
Legal or not??
Yep, as far as I can tell from their TOS it is only frowned upon if you use it for chain registrations/deletions (i.e. kiting), but people don't do that any more because of the $0.20 fee. The script pretends to be a browser, so Dynadot can't tell it isn't a human doing it anyway.
Not sure how many requests InterNIC lets you do before they ban your IP for the day, but this is an example of how the API could be used in a simple drop-catching script:
drop.php:
Then you would just open your web browser when it gets close to the drop time and type in:PHP Code:<?php
$url = "http://reports.internic.net/cgi/whois?whois_nic=" . $_GET['domain'] . "&type=domain";
$result = file_get_contents($url);
while(eregi("Domain Name:", $result))
{
$result = file_get_contents($url);
}
if(eregi("No match for domain", $result))
{
$url = "http://www.yourdomain.com/dynadot.php?domain=" . $_GET['domain'];
file_get_contents($url);
}
?>
www.yoursite.com/drop.php?domain=abc.com
and it would keep checking until abc.com is available, call the API, and register it for you. This example is extremely simplified and only works on the extensions Internic can check and the API can register (biz, com, info, mobi, name, net, org). It doesn't use proxies or multithreading and is just a very basic example of how it could be used. Hopefully it gives you guys some ideas though.
Bookmarks