架設dhcp server,需不需要先架好dns server? - PCZONE 討論區

返回   PCZONE 討論區 > ▲ -- 電 腦 軟 體 討 論 區 > -- FreeBSD & Linux 討 論 版


PCZONE 討論區



通知

-- FreeBSD & Linux 討 論 版 因為本站採用 FreeBSD 作業系統,所以自己本身也多學了一些技巧,希望各位在這裡互相討論 Unix 作業系統及程式等相關問題。

會員
架設dhcp server,需不需要先架好dns server?
請問架設dhcp server,主機需不需要架好dns才能架設dhcp

我用fedora core在啟動dhcpd的時候都會出現下列錯誤訊息,有人知道是為什麼嗎?

[root@ns2 etc]# /sbin/service dhcpd restart
Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
/etc/dhcpd.conf line 23: unexpected end of file
#}
^
Configuration file errors encountered -- exiting

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the [email protected]
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.

回覆
會員
回覆: DHCP問題
你的大刮號有頭無尾..
應該是你把某行註解掉時,連那個大括號都註解掉了..
就如上面的錯誤訊息所示
/etc/dhcpd.conf line 23: unexpected end of file
#}
^
回覆
校長兼撞鐘
回覆: DHCP問題
架設 dhcp server 跟是否已經架設 dns server 無關
你的問題 , tvirus 已經說出來了
應該是 /etc/dhcpd.conf 有錯誤導致無法執行

可將 /etc/dhcpd.conf 貼上來幫你看看先

回覆


類似的主題
主題 主題作者 討論版 回覆 最後發表
【下載】Defragment Server and PC | Smart Defrag | Enterprise Server Free Defragmenter FYI -- 軟 體 分 享 版 2 2008-10-09 05:57 PM
請問如何用 client server VPN 存取 server 區網內的資源? osaka1217 -- 網 路 技 術 版 1 2008-01-24 01:40 PM
【問題】從 NT4 Server 換到 Win2000 Server 的問題..... qq0pp -- Windows 討 論 版 3 2006-07-05 09:16 PM
【求助】如何在windows 2003 server 架設 DNS 及 MAIL SERVER aniki804 ☉ -- 架 站 DIY 討 論 版 10 2005-09-30 11:04 AM
請問,DNS2GO及Exchange Server 2000,可否做E-Mail Server? ckleung -- 網 路 技 術 版 1 2002-02-08 02:11 AM






 XML   RSS 2.0   RSS 
本站使用 vBulletin 合法版權程式
站務信箱 : [email protected]

本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。