Host your website home and dynamic update dns zone on zoneedit.com
This week I tried to find a solution for hosting my website (www.syshalt.net) home on a small server. I had all resources but no fixed IP in order to host DNS Server in my location. I have an ultra-fast connection but I`m connecting using PPPoE and after each disconnect and reconnect my IP changes.
After some time researching on internet I found that there are free solutions to this approach, and you can host your website on your home server.
First this you need to do is to go on www.zoneedit.com and register an account. Zone Edit hosts for FREE a Dynamic DNS Zone. What that means? Well they host for you DNS zone and you can update dynamic the DNS when your ip changes. After you register on zoneedit, create a zone name with your domain name and set the TTL to 300. Now you will need to go to your domain registrant account and change the DNS servers to the ones provided to you from zoneedit.com (when you log on member area, on the left side under "Host Status")
The final step is to install a client that updates on zoneedit.com your WAN ip every time it changes.
Installation on Windows:
After searching a windows client that can be installed as a windows server, and what I found did not worked as expected, I decided to create my own client that has no GUI, it runs only as a windows service and updates the zone automatically on zoneedit.com
zeDynDNS Version 1.2 - Download
Changes
- Fixed some issues on event messages handling.
The setup will install the client in C:\Program files\zeDynDNS and register automatically as windows service. After install go to installed folder and open zeDynDNS.ini in order to configure username, password (for zoneedit), domain zone (to be updated), update interval (default 5 minutes). Reboot your server or restart the service (Start -> run -> services.msc and find Zone Edit DynDNS) in order to apply the new settings.
Installation on Linux/UNIX (info from zoneedit.com)
Recommanded client by me: http://encodable.com/eponym/ (I used this on a linux server and works very good)
You can also use these commands:
lynx -source -auth=username:password 'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.mydomain.com'
or
wget -O - --http-user=username --http-passwd=password 'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.mydomain.com'
PPP users should place one of the above commands (or a perl client) in the file /etc/ppp/ip-up or /etc/ppp/ppp.linkup, which are called whenever a ppp connection is made.
Users of dhcpcd may place these commands in the file /etc/dhcpc/dhcpcd-eth0.exe or /etc/dhcpc/dhcpcd-eth1.exe which are executed whenever a new dynamic IP address is acquired.
More info you can find here: http://www.zoneedit.com/doc/dynamic.html
Java on iOS 4 (iPhone)
Recently I had done some research about Java VM running on iPhone devises. At the moment Apple does not support java application and from what Steve Jobs said, there is not plan in the future to do so. Lucky we can have Java VM on our iPhones.
In order to do this you will need of course to jailbreak you iPhone and install OpenSSH and APT-Strict application from Cydia, then SSH to your iPhone IP with username: root and password: alpine and trype to install java this commands:
1. apt-get update
2. apt-get upgrade
3. apt-get install jamvm jikes classpath iphone-java
Here is an example of HelloJava application:
Create a new file with command nano HelloJava.java and write the code from bellow.
public class HelloJava {
public static void main(String args[]) {
System.out.println(“Hello, Java”);
}
}
Now ctrl+x to save and exit then compile the source file:
jikes –cp /usr/lib/rt.jar HelloJava.java
Now you can run the application using:
java HelloJava