免費沒好貨~免費DNS~小心你不能順利操作~

我利用freedns的publish doman建了幾個subdomain
名子又短又好記~但是~卻是我痛苦的開始
之前~以為是DNS更新的問題~等TTL過去就好~
那時~也順利的把sitemap加了進去
但是~今天去看~sitemap的提交一直有問題~
明明就是同樣的系統~同樣樣的版本~
但是~別的站提交sitemap卻一點問題也沒有~
重新提交無效~想說刪掉重要提交好了~
但是~卻新增不回去了~

上了網查了一下~有一篇文章這麼說的~網址在這~
After trying multiple times over a course of a month or so, I decided to investigate. What I found was a bit surprising: freedns.afraid.org (my dynamic DNS provider) blocks all requests from Google! I couldn’t believe it!

A bit pissed, I emailed Joshua Anderson (the maintainer of FreeDNS) about it. He asked for my domain name and stated that Google can now access my site. He didn’t respond to the portion of my email asking why Google is blocked in the first place.

Well, Google is now able to download my sitemap, but I will have to wait a LOOONG time before I show up in Google again. It took me a while the first time, and I’m basically starting again as if I’m reborn.

I also enlisted in a secondary DNS service, EditDNS.net, just in case there are some other surprises in afraid.org’s services. Hopefully if any queries to afraid.org’s servers fail, EditDNS will come through successfully.

Isn’t blocking Google such a bad idea? I wonder what the reasoning behind it is. I don’t see freedns.afraid.org having any trouble getting listed by Google.

UPDATE: FreeDNS has updated their FAQ to address the Google issue. Here’s an excerpt:

QUOTE:

The official policy is this:
1) At around 4AM PST each night, the previous 24 hours worth of domain
additions are made visible to Google. (subdomain edits and updates are
instant).

2) No subdomains created via the shared domain system are visible to
Google. You must own the domain its self that you are creating a
subdomain off of to have it visible to Google by default.

看到FAQ~心都涼一半了~
每天早上4點(PST:太平洋標準時間),Google可以看到這一天中的變化。
透過免費的域名所副建的副域名,是無法被Google看見的,域名的管理者,其所創建的副域名,才可以被Google看見。

看來~我的域名要搬家了~

還是看英文站快一點~
中文的都沒有人討論~

ps.重灌狂人只有說:可以建立副域名,卻沒有說建了這樣的副域名之後,會有什麼樣的限制。

wordpress post_tag and category 限制

原本想說~wordpress的post_tags當成keyword資料來源:
但是 因為 之前提到的 wordpress 資料庫過度正規化[請參閱 wordpress 資料庫正規化之我思….」
所以造成文章在更新tags及category時相當的麻煩
都想說~反正麻煩一次就好了~就來蠻幹好了~
看了一下資料庫的結構

2009-03-15_210652.png
看了資料庫結構~
真的很想哭~
name是index~(我的臉色變了)
slug是從name編碼來的~
slug是unique~就就是說~category及tags不能重覆~
OH-MY-GOD
category分類的名稱不能當成post_tag的名稱
這樣講怎麼合理~
假設一個資料豐富的站
有一個分類叫作「電腦科技」
剛好有一篇文章~在講環保節能減碳的~
談到Google的電腦科技~是造成電力浪費的主因之一~
糟了~加了關鍵字~自動bypass掉了….靠北邊走….
實在有夠鳥的~還好~有外掛工具可以輔助…

雞媽媽的媽媽-freedns系統

話說~midphase(Anhosting)只能用addon domain
必須要借助外部dns server
而….freedns就是本次實驗的目標~
但是這個目標讓我在申請pp.ru域名時~吃盡苦頭

Bind 8 / Bind 9兩個不同版本的DNS解析對設定造成嚴重的問題
我在RISN中設定的DNS server 只有2個
ns1.afraid.org ns2.afraid.org
因為根據DNS的規範~DNS只要設定2個就好
相說~設到4個就比較沒有意思~反正全球DNS Server同部完
2個和4個DNS Server並不會影響解析
但是~好笑的是~
freeedns 回報給RISN的DNS Server是4個
也就是說上下游的DNS Server並不相同
造成Lame Server(跛腳)

就會收到通知信~
主旨:xxx.PP.RU: zone check failed
————————– english ———————————
Dear Madam/Sir, We are sorry to notify that the check of ‘xxx.PP.RU’
DNS-servers has failed with the following error(s):

1. NS records list for xxx.PP.RU. provided in the domain template
is different from the one contained at ns2.afraid.org.(66.252.1.255, 66.252.1.255)

ns2.afraid.org. – ‘ns1.afraid.org. ns2.afraid.org. ns3.afraid.org. ns4.afraid.org.’
domain template – ‘ns1.afraid.org. ns2.afraid.org.’

2. NS records list for xxx.PP.RU. provided in the domain template
is different from the one contained at ns1.afraid.org.(67.19.72.206, 67.19.72.206)

ns1.afraid.org. – ‘ns1.afraid.org. ns2.afraid.org. ns3.afraid.org. ns4.afraid.org.’
domain template – ‘ns1.afraid.org. ns2.afraid.org.’

Please try to correct the problems before the next check retry in 3 hours.

See the DNS recommendations at http://www.ripn.net/nic/rfc/rfc1912.txt
if you need help.

Thank you,
RIPN mail processor.
Sat Mar 14 08:06:49 2009 Moscow, Russia.

阿不就把伺服器設回去就好~
因為~DNS還沒有確認完成~
這個域名並不能算是我已經申請完成的~
所以~並不能登入RISN後台去改設定~
怎麼辦咧…..弄了一天~
每次都要等3個小時~
連進去~freedns 狀態一直是Broken
想說~是新加入會員的關係~
所以~帳號還沒有開通
但是~到昨天中午就滿48小時了
我直接去讀ns1.afraid.org的設定資料
已經是正確的~但是看到的DNS資料是4筆
後來~今天早上四點~我找到設定的方式~

用寄信的方式來設定
收件人:[email protected]
主址:空白
內容:
action: update
passwd:登入RISN的密碼
#[DOMAIN TEMPLATE]#
domain:xxx.pp.ru
type:CORPORATE
descr:Descirpt of your site
comp-d:subdomain1
comp-d:subdomain2
admin-o:ZZZ-ORG-RIPN
bill-o:ZZZ-ORG-RIPN
nserver:ns1.afraid.org.
nserver:ns2.afraid.org.
nserver:ns3.afraid.org.
nserver:ns4.afraid.org.

mnt-by:ZZZ-MNT-RIPN
source: RIPN
#[TEMPLATES END]#

寄信出去之後~沒有多久~就會收到變更的通知信~

Dear Madam/Sir,

Here are results of processing your request:

> From: 你的信箱
> Subject:
> Date: Sun, 15 Mar 2009 03:49:59 +0800
> Msg-Id: <[email protected]>

> action: update
> password: XXXXX
> #[DOMAIN TEMPLATE]#
> domain:xxx.pp.ru
> type:CORPORATE
> descr:personal test domain
> comp-d:www
> comp-d:ftp
> admin-o:ZZZ-ORG-RIPN
> bill-o:ZZZ-ORG-RIPN
> nserver:ns1.afraid.org.
> nserver:ns2.afraid.org.
> nserver:ns3.afraid.org.
> nserver:ns4.afraid.org.

> mnt-by:ZZZ-MNT-RIPN
> source: RIPN
Read-Only fields ‘source’,’domain’,’type’,’admin-o’ are not updated now.

PREVIOUS OBJECT:

domain: xxx.PP.RU
type: CORPORATE
* descr: e-business online
* comp-d: dns
* comp-d: www
* comp-d: ftp
admin-o: ZZZ-ORG-RIPN
bill-o: ZZZ-ORG-RIPN
nserver: ns1.afraid.org.
nserver: ns2.afraid.org.
* new-nserver: ns1.afraid.org.
* new-nserver: ns2.afraid.org.
mnt-by: ZZZ-MNT-RIPN
created: 2009.03.13
changed: 2009.03.14
state: Not delegated
source: RIPN

REPLACED BY:

domain: xxx.PP.RU
type: CORPORATE
* descr: personal test domain
* comp-d: www
* comp-d: ftp
admin-o: ZZZ-ORG-RIPN
bill-o: ZZZ-ORG-RIPN
nserver: ns1.afraid.org.
nserver: ns2.afraid.org.
* new-nserver: ns1.afraid.org.
* new-nserver: ns2.afraid.org.
* new-nserver: ns3.afraid.org.
* new-nserver: ns4.afraid.org.
mnt-by: ZZZ-MNT-RIPN
created: 2009.03.13
changed: 2009.03.14
state: Not delegated
source: RIPN

*******************************************************
*** actual change of nameservers will be performed ***
*** only after the zone checking is complete ***
*** (current DNS-servers are in field ‘nserver’ ***
*** new DNS-servers are in field ‘new-nserver’) ***
*** ***
*** In case of empty field ‘new-nserver’ ***
*** zone checking will not be performed, ***
*** domain delegation may be suspended ***
*******************************************************

Domain will be delegated after zone checking is complete.

> #[TEMPLATES END]#

Your current request counter: 1.
You may send us 119 in this hour.

Thank you,
RIPN mail processor.
Sat Mar 14 22:51:02 MSK 2009
Moscow, Russia.

成功的變更了 DNS
也就在剛才…收到通知信
DNS確認完成~
這個域名到手了~
跟我重新申請的域名同時到手….
哇咧….這是的…花了快三天才進來
這個雞婆的freedns還真的讓我吃盡苦頭
(RISN 太多俄文了~丟給Google翻譯…無法確定是不是翻對)

Anyway 這個經驗…代價不小

唉~有一好沒兩好的hosting

之前都在說~startlogic和ipower不好~
現在玩域名寄存之後~
Anhosting(midphase)卻不是這麼順利
話最~最近我去弄了一堆域名回來~
startlogic和ipower都提供了park domain的功能
而且~也有custom dns的設定
所以~在申請DNS設定的時候~
只要指向startlogc或是ipower提供的dns server就好

而Anhosting卻沒有提供park domain的功能(也許我買的package沒有)
都只能加addon domain addon domain只能新增60個也就算了
DNS解析的部份要自己做~
使用Freedns來設定DNS是可行的,但是更新速度
真的慢到讓人會怕~我睡一個覺起來~還判定我的域名是broken

broken意思是說~全球12台的DNS root server還沒有我所設定的資料
一天才檢查一次,正確之後~狀態才會正常
真的蠻不順的

最近玩了鯊魚網/co.cc/freedns/twbbs.org….都是各有優缺
慢是最主要的一個原因

另外~google webmaster的DNS更新也很慢
中華電信/台灣固網的DNS都更新了~
連YAHOO的站長工具都能用了
他還找不到…..鳥鳥的google

兩天後~他終於找到那個subdomain了….

網域名稱的實驗~免費二級域名

照了網路上的說明~
去申請了俄羅斯的免費域名
第一次申請的時候~沒有注意到時間
超過配額~
第二次再申請的時候~就在兩個小時後收到認証信~申請通過

烏克蘭的二級域名~是申請憑證~再寄送憑證申請
之前我有申請過一次~失敗

次這 把google翻譯搬出來~申請第一次就成功
不過~DNS卻在6個小時候後work

會用到的資源網址有2個
第1個 google 翻譯
第2個 郵政總局的地址翻譯

網路上的說明 寫的沒有很清楚
電話號碼的格式是

+886 空格 區碼 空格 號碼
網路上的說明也是舊的 現在申請烏克蘭的憑証
Email中就有超連結了~可以直接認證
當然 原來回信認證的方式一樣可以用

哈哈~多了俄羅斯和烏克蘭的域名……
還不知道~要放什麼東西才好咧…

PS. 1.com.ru 公司型的俄羅斯域名,目前已經停止提供申請…
PS. 2.不要用Google直接對網路翻譯,這樣會造成網頁運作異常

用mysql的trigger完成ping service

因為進行wordpress的二次開發
無法自動進行PING的動作
所以~花了時間去研究一下 mysql 的trigger要怎麼做
目前可以做到的~
在新增文章~或是更新文章的時候~
會自動新增(修改)另一個資料表
只要一個小程式~就可以判斷哪些文章還沒有PING過~
或是那一篇文章~修改過了~待PING

玩起來~還蠻有趣的~
今天~晚上算是玩樂~
而不是工作~哈哈