Hi,

Is there any utility available wherein I could get all the IP
addresses of a particular domain or it may even be a website.

Why do I require it?
A certain linux installation which I've configured uses a DVB
card to receive bandwidth. However certain sites are presumably
blocked and are not accessible via the DVB card.
I have no idea whether its intentional or whether it is
some kind of misconfiguration.
However one way is to route these certain sites via
another interface, which in this case is an ISDN connection

I've tasted success doing it for particular source IPs.

eg.
# default NAT
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source ${DVBIP}

# NAT for 172.16.1.0/24 LAN
iptables -t nat -A POSTROUTING -o eth0 -s 172.16.1.0/24 \
        -j SNAT --to-source ${ISDNIP}

So now, the 172.16.1.0/24 series has absolutly no complaints
as all their packets go via the ISDN interface

But what i require is not NATTING based on source but on
destination web site (Not a single IP address)

I tried the following for dummy site of www.dvbblocked.com

$ iptables -t NAT -A POSTROUTING -o eth0 -d www.dvbblocked.com \
        -j SNAT --to-source ${ISDNIP}

The above works, but unfortunately some sites like hotmail, etc
have many web addresses coupled with many IP addresses.

So i was wondering if I could just type "hotmail.com", and
get a list of all IP addresses involved or preferably
just an IP block would be the best.

If i do a `dig hotmail.com`, I get 2 ips
of 65.54.231.250 and 65.54.230.254
There may be more.

And how clever is it if I do NAT for the IP block of 65.54.0.0/16 ?

Thanx

--
arc_of_descent
        


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to