{"id":445,"date":"2010-02-26T13:53:00","date_gmt":"2010-02-26T18:53:00","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=445"},"modified":"2010-02-26T13:53:00","modified_gmt":"2010-02-26T18:53:00","slug":"useful-dns-stuff","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2010\/02\/useful-dns-stuff\/","title":{"rendered":"Useful DNS Stuff"},"content":{"rendered":"<p>DNS is great.  Who wants to remember numbers when you can remember something easier?<br \/>\nhttp:\/\/it.thelibrarie.com or http:\/\/208.113.245.198?  Well technically that&#8217;s a bad example as this site is running as an apache virtual host (the header file tells the server which site you&#8217;re actually look for).  But you get the idea.<\/p>\n<p>So, how many sites are actually on this same IP address?  As of this writing: 71.  Now that includes www.*.tld and *.tld, so it&#8217;s slightly inflated.<br \/>\nHow do we know?  I use a tool called YouGetSignal (<a href=\"http:\/\/www.yougetsignal.com\/tools\/web-sites-on-web-server\/\">http:\/\/www.yougetsignal.com\/tools\/web-sites-on-web-server\/<\/a>) to look it up.  Pretty nice interface.<\/p>\n<p>How about if you just want to see sub domains of a system?  I found a decent way (although it doesn&#8217;t find all of them) to check:<br \/>\nDownload DNSMap (http:\/\/code.google.com\/p\/dnsmap\/downloads\/list)<br \/>\n<code>wget http:\/\/dnsmap.googlecode.com\/files\/dnsmap-0.30.tar.gz<\/code><br \/>\n<code>tar zxvf dnsmap-0.30.tar.gz<\/code><br \/>\n<code>cd dnsmap-0.30<\/code><br \/>\n<code>make<\/code><br \/>\n<code>cp .\/dnsmap \/usr\/local\/bin\/dnsmap<\/code><br \/>\n<code>dnsmap domain.tld -r \/var\/log\/dnsmap_domain.tld_log.txt<\/code><\/p>\n<blockquote><p>\nlocaladmin@external:~\/dnsmap-0.30$ dnsmap thelibrarie.com<br \/>\ndnsmap 0.30 &#8211; DNS Network Mapper by pagvac (gnucitizen.org)<\/p>\n<p>[+] searching (sub)domains for thelibrarie.com using built-in wordlist<br \/>\n[+] using maximum random delay of 10 millisecond(s) between requests<\/p>\n<p>ftp.thelibrarie.com<br \/>\nIP address #1: 208.113.246.229<\/p>\n<p>it.thelibrarie.com<br \/>\nIP address #1: 208.113.245.198<\/p>\n<p>kj.thelibrarie.com<br \/>\nIP address #1: 208.113.246.229<\/p>\n<p>mail.thelibrarie.com<br \/>\nIP address #1: 208.97.132.24<\/p>\n<p>media.thelibrarie.com<br \/>\nIP address #1: 208.113.228.62<\/p>\n<p>news.thelibrarie.com<br \/>\nIP address #1: 208.113.232.193<\/p>\n<p>webmail.thelibrarie.com<br \/>\nIP address #1: 208.97.187.139<\/p>\n<p>www.thelibrarie.com<br \/>\nIP address #1: 208.113.246.229<\/p>\n<p>[+] 11 (sub)domains and 11 IP address(es) found<br \/>\n[+] completion time: 164 second(s)\n<\/p><\/blockquote>\n<p>I cut out a couple even though you can easily see which ones.  Just to make it slightly more difficult for bots&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DNS is great. Who wants to remember numbers when you can remember something easier? http:\/\/it.thelibrarie.com or http:\/\/208.113.245.198? Well technically that&#8217;s a bad example as this site is running as an apache virtual host (the header file tells the server which site you&#8217;re actually look for). But you get the idea. So, how many sites are &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2010\/02\/useful-dns-stuff\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Useful DNS Stuff<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-445","post","type-post","status-publish","format-standard","hentry","category-miscellaneous"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=445"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/445\/revisions"}],"predecessor-version":[{"id":446,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/445\/revisions\/446"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}