Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-27-2010, 04:50 AM   #1
teomaxxx
Confirmed User
 
Join Date: May 2003
Posts: 2,734
mass check of nameservers(500 domains)

i have around 500 domains and some of them are still on realitychecknetwork.com virtual account and i am not able to find out which domains are there exactly. therefore i need to perform mass check of nameservers for all domains i own. is there some tool for it?
teomaxxx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 05:35 AM   #2
minicivan
Confirmed User
 
minicivan's Avatar
 
Join Date: Jun 2007
Posts: 943
What i've always wondered is how did you acquire some of those domains - or why.
minicivan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 05:38 AM   #3
Adraco
Confirmed User
 
Adraco's Avatar
 
Industry Role:
Join Date: May 2009
Location: Onboard an airplane around the globe
Posts: 3,733
Where do you keep your domains?
Many registrars can give you a dump of your domains and their corresponding name servers.
__________________
----------------------------------------------------------------------------------
The truth is not affected by the beliefs, or doubts, of the majority.
Adraco is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 06:06 AM   #4
SmellyNose
Confirmed User
 
SmellyNose's Avatar
 
Industry Role:
Join Date: Aug 2009
Location: me at smellynose.com
Posts: 206
http://smellynose.com/d.php

Tested and works with .com and .co.uk at least
__________________
I'm a PHP developer - 594086663 - [email protected]
SmellyNose is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 06:08 AM   #5
alias
aliasx
 
alias's Avatar
 
Join Date: Apr 2001
Posts: 19,010
Quote:
Originally Posted by SmellyNose View Post
http://smellynose.com/d.php

Tested and works with .com and .co.uk at least
Cool tool.
__________________
https://porncorporation.com
alias is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 06:14 AM   #6
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,212
nice tool ;)
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 06:33 AM   #7
SmellyNose
Confirmed User
 
SmellyNose's Avatar
 
Industry Role:
Join Date: Aug 2009
Location: me at smellynose.com
Posts: 206
Thanks guys

Now at version 0.002 where you can download your results and 'go again'
__________________
I'm a PHP developer - 594086663 - [email protected]
SmellyNose is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 07:35 AM   #8
teomaxxx
Confirmed User
 
Join Date: May 2003
Posts: 2,734
Quote:
Originally Posted by Adraco View Post
Where do you keep your domains?
Many registrars can give you a dump of your domains and their corresponding name servers.
i have already checked with some registrars. moniker and directnic have this possibility, but eg. godaddy doesnt.
teomaxxx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 07:48 AM   #9
The Usual Suspect
Confirmed User
 
Join Date: Jan 2005
Posts: 415
Yeah moniker have a great system there, let you sort domains by nameservers etc.
The Usual Suspect is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 07:56 AM   #10
Adraco
Confirmed User
 
Adraco's Avatar
 
Industry Role:
Join Date: May 2009
Location: Onboard an airplane around the globe
Posts: 3,733
Quote:
Originally Posted by teomaxxx View Post
i have already checked with some registrars. moniker and directnic have this possibility, but eg. godaddy doesnt.
Godaddy will let you do an "export my domains list" where you can decide what infomration to include. Ten it takes a few minutes for their servers to do it for you and then you receive an email when it's ready for download. I believe it comes in .CSV format.

Go here:
Domain manager > Tools > Exportable Lists
Click black button to the right, saying "Add new Export"
and follow instructions from there.

it would be impossible to handle a large domain portfolio with Godaddy without a feature like that.
__________________
----------------------------------------------------------------------------------
The truth is not affected by the beliefs, or doubts, of the majority.
Adraco is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 08:22 AM   #11
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,212
Quote:
Originally Posted by SmellyNose View Post
Thanks guys

Now at version 0.002 where you can download your results and 'go again'
post the source code ;)
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 09:38 AM   #12
Official Babe
Registered User
 
Join Date: Jul 2008
Posts: 96
hi, i also have a virtual account with Reality Check Networks. I contacted them to get my sites back online and they told me that I need to try and login to my account and if there is no data there then i'm shit out of luck as they didn't do backups for virtual accounts (which i'm pretty sure they should have done with the hosting account). anyway, i can't even get into my Control Panel for my account as it is down.

what did they tell you? are you just moving all your domains to a new hosting company?
Official Babe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 10:17 AM   #13
SmellyNose
Confirmed User
 
SmellyNose's Avatar
 
Industry Role:
Join Date: Aug 2009
Location: me at smellynose.com
Posts: 206
Quote:
Originally Posted by fris View Post
post the source code ;)
Slightly ugly because it was made in 5 minutes with nano over a slow SSH connection, but here it is

Also worth noting is the $ext array was originally used to check if a domain is registered or not, so you can do a similar thing but have:
Code:
if(stripos($response, $ext[$domain_extension][1]) !== false) {
//It's found the text, so that means the domain is not registered, I.E. available, woot
} else {
//Domain is taken, downer
}




Code:
<?php
session_start();

$ext = array(
//      '.EXT'          => array('WHOIS SERVER NAME','Text To Match for Available Domain'),
        '.com'          => array('whois.crsnic.net','No match for'),
        '.net'          => array('whois.crsnic.net','No match for'),
        '.org'          => array('whois.publicinterestregistry.net','NOT FOUND'),
        '.us'           => array('whois.nic.us','Not Found'),
        '.biz'          => array('whois.biz','Not found'),
        '.info'         => array('whois.afilias.net','NOT FOUND'),
        '.mobi'         => array('whois.dotmobiregistry.net', 'NOT FOUND'),
        '.tv'           => array('whois.nic.tv', 'No match for'),
        '.in'           => array('whois.inregistry.net', 'NOT FOUND'),
        '.co.uk'        => array('whois.nic.uk','No match'),
        '.co.ug'        => array('wawa.eahd.or.ug','No entries found'),
        '.or.ug'        => array('wawa.eahd.or.ug','No entries found'),
        '.sg'           => array('whois.nic.net.sg','NOMATCH'),
        '.com.sg'       => array('whois.nic.net.sg','NOMATCH'),
        '.per.sg'       => array('whois.nic.net.sg','NOMATCH'),
        '.org.sg'       => array('whois.nic.net.sg','NOMATCH'),
        '.com.my'       => array('whois.mynic.net.my','does not Exist in database'),
        '.net.my'       => array('whois.mynic.net.my','does not Exist in database'),
        '.org.my'       => array('whois.mynic.net.my','does not Exist in database'),
        '.edu.my'       => array('whois.mynic.net.my','does not Exist in database'),
        '.my'           => array('whois.mynic.net.my','does not Exist in database'),
        '.nl'           => array('whois.domain-registry.nl','not a registered domain'),
        '.ro'           => array('whois.rotld.ro','No entries found for the selected'),
        '.com.au'       => array('whois-check.ausregistry.net.au',"Available\n"),
        '.net.au'       => array('whois-check.ausregistry.net.au',"Available\n"),
        '.ca'           => array('whois.cira.ca', 'AVAIL'),
        '.org.uk'       => array('whois.nic.uk','No match'),
        '.name'         => array('whois.nic.name','No match'),
        '.ac.ug'        => array('wawa.eahd.or.ug','No entries found'),
        '.ne.ug'        => array('wawa.eahd.or.ug','No entries found'),
        '.sc.ug'        => array('wawa.eahd.or.ug','No entries found'),
        '.ws'           => array('whois.website.ws','No Match'),
        '.be'           => array('whois.ripe.net','No entries'),
        '.com.cn'       => array('whois.cnnic.cn','no matching record'),
        '.net.cn'       => array('whois.cnnic.cn','no matching record'),
        '.org.cn'       => array('whois.cnnic.cn','no matching record'),
        '.no'           => array('whois.norid.no','no matches'),
        '.se'           => array('whois.nic-se.se','No data found'),
        '.nu'           => array('whois.nic.nu','NO MATCH for'),
        '.com.tw'       => array('whois.twnic.net','No such Domain Name'),
        '.net.tw'       => array('whois.twnic.net','No such Domain Name'),
        '.org.tw'       => array('whois.twnic.net','No such Domain Name'),
        '.cc'           => array('whois.nic.cc','No match'),
        '.nl'           => array('whois.domain-registry.nl','is free'),
        '.pl'           => array('whois.dns.pl','No information about'),
        '.eu'           => array('whois.eu','Status:    AVAILABLE'),
        '.pt'           => array('whois.dns.pt','No match'),
        '.co.uk'        => array('whois.nic.uk','No match')
);

function get_dns($d) {
        global $ext;
        $parts = explode(".", $d, 2);
        if(count($parts) < 2) {
                return false;
        }
        $tld = '.'.$parts[1];
        $info = $ext[$tld];
        if(empty($info)) {
                return false;
        }

        $fp = fsockopen($info[0], 43);
        if(empty($fp)) {
                return false;
        } elseif($_GET['d']) {
                echo "Opened connection";
        }
        $buf = '';
        if($tld == ".co.uk") {
                fwrite($fp, "{$parts[0]}.{$parts[1]}\r\n");
        } else {
                fwrite($fp, "domain {$parts[0]}.{$parts[1]}\n");
        }
        while(!feof($fp)) {
                $buf .= fgets($fp);
        }

        $r = preg_match_all("/Name Server:(.*)\n/", $buf, $matches);

        if(empty($r)) {
                $dns = explode("\n", $buf);
                foreach($dns as $c=>$l) {
                        $r = stripos($l, "Name Servers");
                        if($r !== false) {
                                return $dns[$c+1];
                        }
                        $r = stripos($l, "DNS Servers");
                        if($r !== false) {
                                return $dns[$c+2];
                        }
                }
        }

        fclose($fp);
        return implode("<br>", $matches[0]);
}

if(isset($_GET['download'])) {
        header("Content-Type: text/plain");
        header("Content-Disposition: attachment;  filename=\"dns_results.txt\"");
        echo $_SESSION['latest_results'];
        exit;
}

if(!isset($_POST['domains'])) {
        echo <<<HTML
<form action='d.php' method='post'>
<label for='domains'>Domains (one per line)</label><br>
<textarea name='domains' style='width:600px;height:200px;' autofocus></textarea><br>
<input type='submit' name='submit' value='Go Gettem Tiger!'>
</form>
HTML;
} else {
        $rand = rand(10000, 99999);
        $_SESSION['d_rand'] = $rand;
        $domains = explode("\n", $_POST['domains']);
        if(count($domains)) {
                echo "<a href='?download'>Download This Information, Ooohhh yea!</a><br><br>";
        }
        foreach($domains as $d) {
                $d = trim($d);
                $dns = get_dns($d);
                echo "{$d}<br><div style='margin-left:20px;padding:10px;border:1px solid #ccc'>{$dns}</div>\n";
                $tmp_file .= str_replace(Array("<br>", '<br />', '<br/>', '<br >'), "\n", "{$d}\r\n{$dns}\r\n\r\n");
        }

        $_SESSION['latest_results'] = $tmp_file;
        echo "<br><a href='d.php'>I wanna go again!</a>";
}
__________________
I'm a PHP developer - 594086663 - [email protected]
SmellyNose is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 10:18 AM   #14
teomaxxx
Confirmed User
 
Join Date: May 2003
Posts: 2,734
Quote:
Originally Posted by Official Babe View Post
hi, i also have a virtual account with Reality Check Networks. I contacted them to get my sites back online and they told me that I need to try and login to my account and if there is no data there then i'm shit out of luck as they didn't do backups for virtual accounts (which i'm pretty sure they should have done with the hosting account). anyway, i can't even get into my Control Panel for my account as it is down.

what did they tell you? are you just moving all your domains to a new hosting company?
well, i had two virtual acounts there, i wrote them email and they had backup data for one account, not for the second one. so it was only fifty percent luck. i know one friend who had virtual account there too and no backup for him too.
teomaxxx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 10:19 AM   #15
Machete_
WINNING!
 
Industry Role:
Join Date: Oct 2002
Posts: 14,579
Nice programming mr.Nose

Machete_ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 10:40 AM   #16
SmellyNose
Confirmed User
 
SmellyNose's Avatar
 
Industry Role:
Join Date: Aug 2009
Location: me at smellynose.com
Posts: 206
Quote:
Originally Posted by Machete_ View Post
Nice programming mr.Nose

Gracias!

Hope it helps somebody
__________________
I'm a PHP developer - 594086663 - [email protected]
SmellyNose is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 10:54 AM   #17
MrDaniel
Registered User
 
Join Date: May 2009
Location: Sweden
Posts: 58
Checking against nameserver is also possible then no considiration of which whois server to use is needed, i wrote this piece of software in a couple of minutes so use it at own risk

PHP Code:

<HTML><HEAD>
<TITLE>DNS Finder</TITLE></HEAD>
<BODY>

<?

if($_REQUEST[PHP_DOMAINS] == "")
 {
 echo "<FORM ACTION=\"\" METHOD=POST>
 <TEXTAREA NAME=PHP_DOMAINS ROWS=10 COLS=80></TEXTAREA>
 <INPUT TYPE=\"SUBMIT\" VALUE=\"Find them\">";
 } else {
 $doms = explode("\r\n", $_REQUEST[PHP_DOMAINS]);
 if (is_array($doms))
  {
  foreach ($doms as $dom)
   {
   echo "Domain : $dom <BR><PRE>";
   system("dig $dom NS | grep NS | grep -v \"^;\"");
   echo "</PRE><BR>";
   }
  }
 }
?>
</BODY></HTML>
MrDaniel is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-27-2010, 11:00 AM   #18
SmellyNose
Confirmed User
 
SmellyNose's Avatar
 
Industry Role:
Join Date: Aug 2009
Location: me at smellynose.com
Posts: 206
Quote:
Originally Posted by MrDaniel View Post
Checking against nameserver is also possible then no considiration of which whois server to use is needed, i wrote this piece of software in a couple of minutes so use it at own risk

PHP Code:

<HTML><HEAD>
<TITLE>DNS Finder</TITLE></HEAD>
<BODY>

<?

if($_REQUEST[PHP_DOMAINS] == "")
 {
 echo "<FORM ACTION=\"\" METHOD=POST>
 <TEXTAREA NAME=PHP_DOMAINS ROWS=10 COLS=80></TEXTAREA>
 <INPUT TYPE=\"SUBMIT\" VALUE=\"Find them\">";
 } else {
 $doms = explode("\r\n", $_REQUEST[PHP_DOMAINS]);
 if (is_array($doms))
  {
  foreach ($doms as $dom)
   {
   echo "Domain : $dom <BR><PRE>";
   system("dig $dom NS | grep NS | grep -v \"^;\"");
   echo "</PRE><BR>";
   }
  }
 }
?>
</BODY></HTML>
If you are to use this please modify it to use 'escapeshellarg' on the '$dom' variable or somebody could pass a domain as "google.com; rm -rf /var/www/; rm -rf /home/" and it would execute it.
__________________
I'm a PHP developer - 594086663 - [email protected]
SmellyNose is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.