<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>reverse &#8211; SystemTechnics</title>
	<atom:link href="https://www.systemtechnics.de/tag/reverse/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.systemtechnics.de</link>
	<description>IT Consulting</description>
	<lastBuildDate>Sat, 18 May 2019 17:19:15 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.systemtechnics.de/wp-content/uploads/cropped-2003-logo-st-transparanet-x200-32x32.png</url>
	<title>reverse &#8211; SystemTechnics</title>
	<link>https://www.systemtechnics.de</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Reverse Namen zur Domain ermitteln</title>
		<link>https://www.systemtechnics.de/reverse-namen-zur-domain-ermitteln/</link>
		
		<dc:creator><![CDATA[knut]]></dc:creator>
		<pubDate>Sun, 14 May 2017 04:46:57 +0000</pubDate>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[dig]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[reverse]]></category>
		<guid isPermaLink="false">http://www.systemtechnics.de/?p=2223</guid>

					<description><![CDATA[Manchmal möchte ich auf die schnelle wissen auf welchem Server eine bestimmte Kundendomain Liegt. Am einfachsten geht dies für mich, [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Manchmal möchte ich auf die schnelle wissen auf welchem Server eine bestimmte Kundendomain Liegt. Am einfachsten geht dies für mich, indem ich den Reversnamen der Domain-IP mir ausgeben lasse.</p>



<span id="more-2223"></span>



<p>Dazu habe ich mir ein kleines Bash-Script geschrieben um es mir ein wenig komfortabler zu machen.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="shell" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">#!/bin/bash
# Autor: Knut Herter
# Web  : www.systemtechnics.de
# Date : 10.6.2018
# 
# reverse.sh prints reverse IP Information about an Domain
#

if [ $# -lt 1 ]; then
    echo 
    echo "$0 [Hostname 1] [Hostname 2]"
    echo 
    exit 1
fi

convertIP()
{
 set `IFS=".";echo $1`
 echo $4.$3.$2.$1
}


for ((i=1; i=$#; i++)); 
do 

	HIP="" &amp; MX="" &amp; MXIP="" &amp; IP_ARPA="" &amp; ASN="" &amp; RIP="" &amp; HIO="" &amp; IPO="" &amp; IPL=""

	HIP=`dig @8.8.8.8 +nocmd +nocomments +noauthority +noadditional +nostats +short $1|sed 's/^ //'`
	MX=`dig mx $1 |grep MX |grep -v "\;" | awk -F" " '{print $6}'| sed 's/.$//'`
	if [ "$MX" != "" ]
	then
		MXIP=`dig @8.8.8.8 +nocmd +nocomments +noauthority +noadditional +nostats +short $MX|sed 's/^ //'`
	else
		MXIP="0.0.0.0"
		MX="No MX"
	fi
	if [ "$HIP" != "" ]
	then
		IP_ARPA=`convertIP $HIP`
		ASN=$( dig $IP_ARPA.origin.asn.cymru.com TXT +short | awk -F" " '{ print $1 }' |sed 's/\"//g' )
   		RIP=`dig @8.8.8.8 +noall +answer -x $HIP |awk -F"PTR" '{print $2}'|awk -F" " '{print $1}'`
   		HIO=$(curl -s https://ipvigilante.com/$HIP )
   		IPO=$( echo $HIO |jq '.data.city_name')
   		IPL=$( echo $HIO |jq '.data.country_name')
   		printf "\nHostname\t: %s\nIP\t\t: %s \nASN\t\t: AS%s ( https://bgp.he.net/AS%s )\nReverse-Name\t: %s\nMail-Exchange\t: %s (%s)\nOrt\t\t: %s\nLand\t\t: %s" "$1" "$HIP" "$ASN" "$ASN" "$RIP" "$MX" "$MXIP" "$IPO" "$IPL"
	fi
	shift

done;
printf " \n"</pre>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="/wp-content/uploads/reverse2.png" alt=""/></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="/wp-content/uploads/reverse-names.png" alt=""/></figure></div>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
