關於 PHP, Linux, Open Source 及個人生活記載的網誌。
RSS icon
  • Database 基礎的 DNS 伺服器: MyDNS

    Posted on January 24th, 2006 Sam Tang 1 comment

    我自己的 DNS Server 一直也是用 Bind,因為較普遍,想找資料也較容易。但我覺得最大的缺點是每次加入、修改及刪除 zone record 後,也得重新啟動才可生效。

    因為這個問題,想自己寫一個 web 管理介面也較困難,因為起碼要解決重新啟動的問題,我已看過其他人用過的方法,但都是在一段時間後檢查是否有 zone record 的改動,再在 crontab 上重新啟動,未能做到即時的效果。

    今天找到這個在 UNIX Like 理境的 DNS Server 軟件: MyDNS,它的最大好處是將資料儲存在資料庫內 (例如 MySQL 或 PostgreSQL),在改動 zone record 後不需重新啟動。那麼要開發一個管理程式就容易得多,實際上網上已有很多現成的管理程式,要不然用 phpmyadmin 也可以,真的很方便,在多測試一段時間後,可以考慮轉用 MyDNS


     

    One response to “Database 基礎的 DNS 伺服器: MyDNS”

    1. 可惜沒有 for Windows 版本。

      目前還是用 BIND 中,還好 zone record 的變動不大 (自用) 。

    Leave a reply

    *
    To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
    Click to hear an audio file of the anti-spam word