GD预订的域名CJH.BIZ被人在Dynadot抢注成功了
GD预订的域名CJH.BIZ被人在Dynadot抢注成功了
站长昨晚在Godaddy预订的一个域名CJH.BIZ,今天发现有被人在Dynadot拿走了,而且是马上就有WHOIS以及DNS记录的那种。
Dynadot 中文网站: Dynadothttp://www.dynadot.com/zh/
We have noted that the following changes occurred between 01-Aug-2011 and 02-Aug-2011:
The registrar has been changed: OLD: DOTSTER NEW: DYNADOT LLC The domain expiration date has been changed: OLD: 16-May-2011 NEW: 01-Aug-2012 The domain name servers have been changed: OLD: None NEW: NS1.DYNADOT.COM NS2.DYNADOT.COM The domain status has been changed: OLD: pendingdelete NEW: clienttransferprohibited
for the following name(s):
CJH.BIZ
以为Dynadot也有类似Godaddy这种Backorder预订抢注功能,但是在网络上搜索以及上站的体验上,并未发现Dynadot有类似的预订功能。有种很大的可能就是有国人在Dynadot申请了API接口,然后使用软件自己在抢注,不知道是不是真的这样。如果谁懂Dynadot,期望得到回复。
此外,听人说在Dynadot可以注册5天内删除域名,所以很多搞流量米的都喜欢在这里注册,这在最近逛论坛的时候也经常发现。
下面是站长在网上找的。
dynadot的域名抢注API
dynadot:
原帖——http://www.dynadot.com/resource/forums/f9-api/my-php-based-dynadot-api-765.html
因为作者说“So far I only have search, I’ll work on register later.”就不转过来了,
他的帖子底下有人给出解决方案,
https://www.dynadot.com/account/forum/f6-engineering-corner/dynadot-api-question-927.html
两个帖子结合看吧,俺不懂代码,自己研究吧。
(以下为另一个dynadot抢注API,暂且命名为Dynadot-B,主要用这个,我就是用它狙的)
说明
1.在注册了帐户1 Dynadot 并添加一些帐户学分。
2.前往 http://dnmedia.com/drop_catch.php 并复制/粘贴文本编辑器的代码到您的最爱。
3.编辑Dynadot用户名和密码在顶部(离开虽然引号)。
4.保存该文件在本地的“drop_catch.php”。
5.打开一个新的记事本文件,并在进入的领域要赶上,每行一个。
6.保存该文件在本地的“drops.txt”。
7.上传这两个文件在同一目录到您的服务器。
原文
Instructions
1.Sign up for an account at Dynadot and add some account credits.
2.Go to http://dnmedia.com/drop_catch.php and copy/paste the code into your favorite text editor.
3.Edit the Dynadot user name and password at the top (leave the quotes though).
4.Save the file locally as “drop_catch.php”.
5.Open up a new Notepad file, and enter in the domains you want to catch, one on each line.
6.Save the file locally as “drops.txt”.
7.Upload both files to your server in the same directory.
drop_catch.php
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<?php
/*
Copyright 2009 Michael Sumner
Email:
msumner@dnmedia.com
Web:
http://www.DNMedia.com
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <
http://www.gnu.org/licenses/
>.
*/
session_start();
$user = "YOUR_DYNADOT_USERNAME_GOES_HERE";
$pass = "YOUR_DYNADOT_PASSWORD_GOES_HERE";
$file = "drops.txt";
// MODIFY BELOW THIS LINE AT YOUR OWN RISK //////////////////////////////////////////////////////
$result = FALSE;
$domains = explode("\n", str_replace(array("\r\n", "\r"), "\n", file_get_contents($file)));
$ch = curl_init();
set_opts($ch);
curl_setopt($ch, CURLOPT_HTTPGET, TRUE);
curl_setopt($ch, CURLOPT_URL, 'http://www.dynadot.com/?p6ZJ8oEy9V9U');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
set_opts($ch);
if(!isset($_SESSION['logged_in']))
{
log_in($ch, $user, $pass);
}
while(count($domains) != 0)
{
$domain = trim(array_shift($domains));
$count++;
if(!is_avail_safe($domain))
{
$domains[] = $domain;
}
else
{
$result = is_avail($ch, $domain);
if($result != FALSE)
{
add_to_cart($ch, grab_input_name($domain, $result), grab_input_value($domain, $result));
check_out($ch);
echo "Attempted to register $domain.<br />";
}
else
{
echo "Failed to register $domain.<br />";
}
}
}
function set_opts(&$ch)
{
$user_agent = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_COOKIEJAR, session_name() . '=' . session_id());
curl_setopt($ch, CURLOPT_COOKIEFILE, session_name() . '=' . session_id());
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
}
function log_in($ch, $user, $pass)
{
$url = 'https://www.dynadot.com/account/signin.html';
$params = 'signin_username=' . $user . '&signin_password=' . $pass . '&signin=Sign%20In';
curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
curl_setopt($ch, CURLOPT_URL, $url);
curl_exec($ch);
$_SESSION['logged_in'] = 1;
}
function is_avail_safe($domain)
{
$pieces = explode(".", $domain);
$ext = (count($pieces) > 2) ? $pieces[count($pieces) - 2] . "." . $pieces[count($pieces) - 1] : $pieces[1];
$server = "$ext.whois-servers.net";
$fp = fsockopen($server, 43, $errno, $errstr, 10);
$result = "";
if($fp === FALSE){ return FALSE; }
fputs($fp, $domain . "\r\n");
while(!feof($fp)){ $result .= fgets($fp, 128); }
fclose($fp);
return ((stristr($result, 'no match for') !== FALSE) || (strtolower($result) == "not found\n")) ? true : false;
}
function is_avail($ch, $domain)
{
$url = 'https://www.dynadot.com/account/search/search.html';
$params = 'domain=' . $domain . '&search=Search';
curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
curl_setopt($ch, CURLOPT_URL, $url);
$result = curl_exec($ch);
$result = strstr($result, '<td>Search Results</td>');
$piece = strstr($result, $domain);
$piece = strstr($piece, '<td valign="top">');
$status = substr($piece, 17, strpos($piece, '</td>') - 17);
return ($status == "Available") ? $result : FALSE;
}
function grab_input_name($domain, &$result)
{
$result = substr($result, 0, strpos($result, $domain));
$result = substr($result, strrpos($result, 'domain_'));
return substr($result, 0, strpos($result, '"'));
}
function grab_input_value($domain, &$result)
{
$result = substr($result, strrpos($result, 'value=') + 7);
return substr($result, 0, strpos($result, '"'));
}
function add_to_cart($ch, $name, $value)
{
$url = 'https://www.dynadot.com/account/search/search.html';
$params = $name . '=' . $value . '&add_submit=Add%20and%20Checkout';
curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
curl_setopt($ch, CURLOPT_URL, $url);
curl_exec($ch);
}
function check_out($ch)
{
$url = 'https://www.dynadot.com/order/submit.html';
$params = 'submit=Submit%20my%20Order';
curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
curl_setopt($ch, CURLOPT_URL, $url);
curl_exec($ch);
}
?>
http://www.domainafterlife.com/2009/09/my-drop-cathing-software-beat-a-godaddy-backorder/
[ 小牆判斷這是Spam! ]
請求: /wp-comments-post.php
方式: 未經評論表格
內容: =
— 記錄成功 —