新手發問 關於dns無法開啟 - BBS

Connor avatar
By Connor
at 2008-08-08T19:53

Table of Contents

我是因為工作的關係 剛接觸freeBSD 現在網站出現了一個問題

就是 今天我的網頁無法連線 但是只要輸入ip就能連上

輸入網址就無法連上 之前都是可以連線

但今天就無法用網址連上了只能用ip

我用 top 查看我開啟的服務 但是似乎沒有看到dns被開啟

只有 httpd sshd mysqld


我『辜』了一下 大概知道就是 要去/etc/namedb/named.conf開啟 DNS服務

但是就是出現這樣的訊息
/etc/namedb/named.conf
Command not found.

然後 我也新建/etc/resolv.conf

也建立了管轄的網域名稱與我的DNS

但是要測試時設定檔是否正確 出現

usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n
number_of_cpus]
[-p port] [-s] [-t chrootdir] [-u username]
[-m {usage|trace|record}]
named: unknown option '-b'

這是 怎麼問題 有沒有高手可以幫我解答一下

還是 我根本以上的操作就是錯誤的

那請問 要怎麼開啟dns? 才能讓別人使用網址就可登入呢?

感謝

我的Bind是9.3版的

對了 我做了以上的要重新啟動系統嗎?

感謝高手解答 我剛接觸只有兩個月 看書還在摸就遇到這情形了

整本書都翻遍了 但是似乎還沒有辦法幫我解決我的問題 就麻煩高手

--

MY BLOG http://www.wretch.cc/blog/yenjubear

攝影、水族、養狗 歡迎來到我的世界

--
Tags: BBS

All Comments

我的gdb 無法 attach process

Ingrid avatar
By Ingrid
at 2008-08-07T18:54
herman602at[/home/herman602] # gdb -q (gdb) attach 1048 Attaching to process 1048 /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4 ...

vim發生錯誤

Faithe avatar
By Faithe
at 2008-08-06T17:47
※ 引述《Edward.bbsatbbs.sayya.org (蒙古大夫 2.0)》之銘言: : ※ 引述《herman602.bbsatptt.cc (奸商)》之銘言: : andgt; 我在root身份下使用 : andgt; 或是一般使用者sudo到root身份下 : andgt; 只要開啟vim使用 ...

不正常關機?

Blanche avatar
By Blanche
at 2008-08-06T16:21
※ 引述《savealone (more than reality)》之銘言: : 今天我一登入電腦,沒有跳到輸入帳密的地方, : 然後畫面上出現and#34;enter full pathname or shell or RETURn for /bin/shand#34; : 有版友碰過一樣的問 ...

不正常關機?

Tristan Cohan avatar
By Tristan Cohan
at 2008-08-06T15:55
今天我一登入電腦,沒有跳到輸入帳密的地方, 然後畫面上出現and#34;enter full pathname or shell or RETURn for /bin/shand#34; 有版友碰過一樣的問題嘛 不知道從何下手 感謝:) - ...

lynx安裝出現了問題

Carolina Franco avatar
By Carolina Franco
at 2008-08-06T09:10
make install之後 跑了很久 跑到上面寫 ===andgt; ASCIIdates98-fpw ===andgt; CGdic-fpw ===andgt; Canna ===andgt; FreeWnn-lib ===andgt; ja-FreeWnn-lib-1.1.1.a021_2 d ...