Friday, December 2, 2011

寄人籬下

最近因為老婆工作的關係, 我和她遷到了她姊的房子,租一個小房間暫住.

以前我跟老婆常來這裡過夜,但是住下一個星期以後才發現跟以往只是來過夜的情況有很大的不同. 最主要原因是大家的生活習慣不相同,也因為寄人籬下,所以我們要遷就他人,也就沒有以往只有我跟老婆兩人住得那麼舒服了. 再加上老婆常常被她姊罵,有時候聽了也挺難過的. 雖然我也會跟老婆吵架,但是聽到她被我以外的人罵心裡就很不好受.

現在只好將自己的活動範圍僅量縮小, 縮到房間裡就好. 非必要時就不需要到客廳去了,避免不必要的衝突. 寫著寫著怎麼感覺很嚴重, 其實也只不過是因為寄人籬下, 過得沒有以前自在有感而發罷了.

我相信這種情況不會持續太久的.

Thursday, December 1, 2011

Dynamic IP DNS Hosting

Here are the conditions:

1. Client has his own server

2. Client had registered new domain name. (For example, register a new domain name with GoDaddy.)

3. Client server has DYNAMIC IP shared under the router.

 

The solution is pretty simple.

1. Find a FREE DYNAMIC DNS Hosting service.
I use FreeDNS where it provides tons of features and most importantly, it’s FREE!!
clip_image002[5]

 

2. Register a new user with FreeDNS.
Login with username and password after the normal registration procedure.

 

3. Add the registered domain
Go to Domains -> Add Domain

clip_image004[5]

clip_image006[6]
Go to Dynamic DNS, we can see that newdomain.com had been added in!

clip_image008[6]

 

4. Now we have to Register/Modify the NAME SERVER with the vendor that we registered the domain name. (GoDaddy in this case)

There are 4 Name Servers that we need to add in the NAME SERVER list for our domain name.

NS1.AFRAID.ORG (50.23.197.95)
NS2.AFRAID.ORG (174.37.196.55)
NS3.AFRAID.ORG (72.20.15.61)
NS4.AFRAID.ORG (174.128.246.102)

Kindly contact your domain vendor if you don’t know how to modify the Name Server

 

5. When people type newdomain.com in the browser address bar, the domain vendor(GoDaddy in this case) will first get the request and then go to ask the NAME SERVER(FreeDNS in this case) to get the exact IP address of the client’s server.
So now we are going to get the IP address of the client’s server!
Since the client’s server has a DYNAMIC IP address(not fixed, change frequently), we will need a dynamic ip update client here.

 

6. Download the DYNAMIC DNS Client from the list here. I use FreeDNS Update Client in this case.
clip_image010[5]
clip_image012[5]

 

7. The FreeDNS Update Client
clip_image016[5]

Go to Setting and key in the Username / Password, then click the Get Domain List
clip_image018[5]

Finally use a WhoIs service provider to check your domain name. You will get something similar like this if it is successful!
image