Discuss IPSF Server Source Released at the iPhone "2G" (Rev. 1) - Hackint0sh.org; [QUOTE=dtube;96587]@natest,
On #11 above - You can run a "local" private DNS server at home ...
-
[QUOTE=dtube;96587]@natest,
On #11 above - You can run a "local" private DNS server at home and "pretend" to be the authoritative zone for iphonesimfree.com with A record as backoffice and resolve to your localhost.
http://www.simpledns.com/ (free 14 day eval) - Note: don't connect pc to internet OR put the IP address of DNS server you created as the resolver (local machine tcp/ip setting)
You can also run your own http (IIS or Apache) server on your computer to test as well.
I think you can also add a /etc/hosts file in the iphone and put the ip address of your local machine to point to backoffice.iphonesimfree.com
-
-
Well, I kind of like java apps and I found a good simple cmd-line java DNS server
http://www.dnsjava.org/download/dnsjava-2.0.5.jar
I created jnamed.conf (one line):
primary iphonesimfree.com ipsf.zone
and ipsf.zone:
$TTL 86400 ; 24 hours could have been written as 24h or 1d
$ORIGIN iphonesimfree.com.
@ IN SOA ns.iphonesimfree.com. hostmaster.iphonesimfree.com. (
2007102301 ; serial
3H ; refresh
15 ; retry
1w ; expire
3h ; minimum
)
IN NS ns.iphonesimfree.com. ; in the domain
; server host definitions
ns IN A 192.168.1.2 ; my ip address
backoffice IN A 192.168.1.2 ; my ip address
then I ran the following cmd:
sudo java -classpath dnsjava-2.0.5.jar jnamed
jnamed: listening on 0.0.0.0#53
jnamed: running
looks like it works!
-
-
prolly /etc/hosts will also work... it is much simpler and it doesn't require any DNS server... just edit a file on the iphone and perhaps reboot it...
Last edited by mapas; 10-23-2007 at 05:50 AM.
-
True true. that's if you're on a *nix / Linux box.
when you do this, if your computer is on the net, you also have to edit /etc/resolv.conf to make sure the dns search hits the /etc/hosts file first before query the real DNS server.
I believe the syntax of /etc/resolv.conf is:
search hosts nameserver
-
-

Originally Posted by
dtube
True true. that's if you're on a *nix / Linux box.
when you do this, if your computer is on the net, you also have to edit /etc/resolv.conf to make sure the dns search hits the /etc/hosts file first before query the real DNS server.
I believe the syntax of /etc/resolv.conf is:
search hosts nameserver
no we mean the /etc/hosts on the iphone... if you add:
ip_of_your_desktop backoffice.iphonesimfree.com
it will redirect the communication to your desktop...
so you just need httpd at your desktop
-
you're right again.
Sorry for making something simple more complex than it should.
-
-
Keeping an eye on this thread ... I whacked my iPhone before I found out the server was down so hopefully another pops up soon ....
-
Actually this one http://195.68.135.54:49973 or http://195.68.135.54:49973/data/ is responding but it is not returning the bin yet. You may want to keep an eye on that too. It's in Russia.
-
-
Thanks ... I sent my IMEI ... guess I'll see what happens .. no BIN yet like you said ....
I would think that the CGI was written for the purpose of an automate way to make money selling unlocks. Would be nice if somebody knowledgeable ... (not me) .. could just convert this to a java app that could run locally ...
Last edited by dmhines; 10-23-2007 at 07:05 AM.
-
OK .. i was able to compile the CGI using xcode on OS X ... I need to configure Apache .. but I'm tired ... will work on it tomorrow if this other server doesn't come through.
-
Similar Threads
-
By masterp76 in forum Free Toolchain Software
Replies: 2
Last Post: 03-26-2008, 06:08 PM
-
By masterp76 in forum Free Toolchain Software
Replies: 0
Last Post: 03-26-2008, 05:07 PM
-
By TatesMan in forum iPhone "2G" (Rev. 1)
Replies: 8
Last Post: 10-23-2007, 10:23 AM
-
By keyboardcowgirl in forum Flea Market
Replies: 0
Last Post: 10-15-2007, 07:21 PM
-
By miso1391 in forum General
Replies: 0
Last Post: 09-12-2007, 03:16 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks