Category Archives: Network

Network

神秘的 DreamHost

有一個很奇怪的設計:幾乎所有的設計都是假設在 DNS 交給 代管上。

為什麼這樣說呢?因為我將 搬到 後,我不知道要將 A RR 設定到那個 IP address – 在 Control Panel 上沒有寫。

那我怎麼知道呢?我到 Shell Account 下用 ifconfig -a 列出所有的 IP address,再用 GET http://gslin.org/ -p http://specify.some.ip.address:80/ 連看看,找到正確的 IP address 以後設定上去…

而我又設定了一個測試用的 domain 要使用,本來以為同一個 account 會在同一個 IP address 上,結果 發現不是,於是又掃了一遍…

掃完以後用 Control Panel 裡的 Contact Support 去幹剿:

I own gslin.org, and I want to use myself DNS server to set “gslin.org”.

Now, I set gslin.org’s web, and control panel tells me the ssh account
and other PHP/FastCGI/… information, but I don’t know what IP
address I should specify.

結果今天就看到公告:

Important Note for Custom DNS Setups (Action Required)

Posted: Jul 25th, 2005 – 01:29:07 PM PST (1 day 3 hours ago)

If you have customized your DNS settings for any of your domains or if you maintain your own DNS outside of our servers, you must read this and take action. If you have not customized your DNS in any way or don’t know what this means, you do not need to do anything.

We will be making some significant changes to how we configure our email servers in the next couple of weeks, and it is very important that your DNS is configured correctly. The best way to know if your DNS is configured correctly is to query the DreamHost DNS servers directly. You can do that with the UNIX ‘host’ command with syntax similar to this:

host -t any example.com ns1.dreamhost.com

If you need assistance with this, please contact our support team as soon as possible.

If you are using the default DreamHost set up, you do not need to do anything. This is only
applicable to anyone who has customized their DNS configuration in a way other than how we recommend.

Happy DreamHost DNS Team

超級有效率?XD

FreeBSD 第二季報告書

看到 第二季報告書出來了:FreeBSD Status Report for 2005 Q2,這次的內容包括了 SoC (Summer of Code Project) 的情況。

另外, 打算重新改寫目前的 TCP/IP code,主要包括 SMP 時的 optimization,以及利用 CPU 的 prefetch 增加 TCP/IP 效率。

目前 估計需要 720 小時,所以他希望有人能夠捐款協助他,以他目前的生活情況需要 USD$18900,有興趣的可以參考 Fundraising – TCP & IP Routing Optimization 這個網頁。

WordPress 1.6 r2730 後的問題

我的 用 1.6,這其實是一條不歸路… (已經沒辦法 downgrade 了 XD)

前幾天升級到 r2735 後發現 write post 時 Categories 部分發生問題:

基於版號是 “1.6-ALPHA-do-not-use” (都已經跟你講不要用了),於是要 bug report 前先還是去找問題在哪,以及解決的方法… 最後找到是 r2730 產生的問題:

Date: Mon, 25 Jul 2005 06:55:25 +0800
From: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
Subject: 1.6-do-not-use, PHP warning in Categories (when write post)
To: wp-hackers@lists.automattic.com

When I upgrade to r2735 (and wp-admin/upgrade.php, of course), I found
there are some PHP warning when I write post:

http://www.flickr.com/photos/gslin/28300708/

I trace the code and found it’s because this patch:

http://trac.wordpress.org/changeset/2730#file3

I revert this function then it works fine.


* Gea-Suan Lin (public key: http://ccreader.nctu.edu.tw/~gslin/key.txt)
* If you cannot convince them, confuse them. — Harry S Truman

換 Hosting,換到 DreamHost

其實這陣子 (快五個月了) 一直都是用 的 hosting,一方面是要幹些壞事不太好意思,另外一方面是 ssh 的問題… 所以一直想自己弄 hosting,不過前陣子比較忙就忘記弄了 (喂喂,不是打 啦)。

剛剛在 上面看到 還在 777 promotion code 特價 (七週年慶的 USD$9.24 for 1 year),於是就換 Hosting 過來… 沒遇到什麼大問題,目前看起來都很正常 :p (如果有問題可以 mail 給我)