when i do nslookup to
www.google.com i get
Code:
# nslookup www.google.com
nslookup www.google.com
Server: 0.0.0.0
Address 1: 0.0.0.0
nslookup: can't resolve 'www.google.com'
#
also i cannot ping
www.google.com or wap.mycricket.com
going to try more but im heading home from work now
** EDIT **
sorry was a little busy at work while testing
i had the autostart.sh loaded when i tried the commands, which was sending the requsts to 0.0.0.0 (what it got when it tried to nslookup)
renamed the autostart.sh and rebooted (fresh start)
i am now able to ping wap.mycricket.com and
www.google.com (only recieve responces from wap.mycricket.com due to the phone not knowing how to route through the proxy)
nslookup fails on both, comes back with 0.0.0.0
im assuming because i have no DNS servers set? but that doesnt explain how it is able to resolve wap.mycricket.com on the initial ping if no DNS is set.
going to tinker some more, and thanks again for all your help whiterabbit
** EDIT 2 **
even with the previous autostart.sh and web successfully working nslookup still returns 0.0.0.0 - cannot resolve
nameservers must be set somwhere, ill try to dig up where.
** EDIT 3 **
output from quicktest.sh:
Even though they are set to 0.0.0.0 MMS seems to be working better than ever lol !!
cant wait till this new script has the kinks worked out !!
Code:
# ./quicktest.sh
nslookup: can't resolve 'wap.mycricket.com'
nslookup: can't resolve 'mms.mycricket.com'
iptables -t nat -A OUTPUT -o rmnet0 -p tcp -d 0.0.0.0 --dport 80 -j DNAT --to-destination 0.0.0.0:80
iptables -t nat -A OUTPUT -o rmnet0 -p tcp --dport 80 -j DNAT --to-destination 0.0.0.0:8080
iptables -t nat -A OUTPUT -o rmnet0 -p tcp ! -d 0.0.0.0 ! --dport 8080 -j REDIRECT --to-port 1025
#