네임 서버를 세팅하고 있습니다....헬푸미~

i09000의 이미지

네임 서버를 얼추 대충 세팅을 하고요!~

네임 서버를 리스타트를 하려고 하는데요....

/etc/rc.d/init.d/named restart

를 하면

usage: named [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus]
[-p port] [-s] [-t chrootdir] [-u username]
named: extra command line arguments

이런식으로 리눅스에서 옵션을 덜 주었을때 처럼 글이 나오 거든요..

어떻게 해야 할까요???

참고로 저는 서버 호스팅을 받고 있으며

redhat 리눅스를 사용하고 있습니다.

bind는 설치 하긴 한것 같은데....

영문을 모르겠습니다...

리눅스 초보라.... 한수 가르침을 받겠습니다.

천재태지서주영의 이미지

혹시 bind 9 를 설치하셨나요?
그러면 named 가 아니라 rndc 를 사용하셔야 합니다.
named 와 같은 디렉토리에 파일이 있을꺼예요.

Quote:
[root@seoz sbin]# ./rndc reload

이렇게 해주시면 됩니다.

천재태지서주영

천재태지서주영의 이미지

물론 reload 는 설정 파일을 다시 읽는겁니다. 재시작과는 좀 다르죠.

Quote:
[root@SeoZ sbin]# ./rndc --help
./rndc: illegal option -- -
Usage: rndc [-c config] [-s server] [-p port]
[-k key-file ] [-y key] [-V] command

command is one of the following:

reload Reload configuration file and zones.
reload zone [class [view]]
Reload a single zone.
refresh zone [class [view]]
Schedule immediate maintenance for a zone.
reconfig Reload configuration file and new zones only.
stats Write server statistics to the statistics file.
querylog Toggle query logging.
dumpdb Dump cache(s) to the dump file (named_dump.db).
stop Save pending updates to master files and stop the server.
halt Stop the server without saving pending updates.
trace Increment debugging level by one.
trace level Change the debugging level.
notrace Set debugging level to 0.
flush Flushes all of the server's caches.
flush [view] Flushes the server's cache for a view.
status Display status of the server.
*restart Restart the server.

천재태지서주영