CentOS named 설치

CentOS named 설치

1 설치[ | ]

[root@zetawiki ~]# yum install bind bind-utils
... (생략)
=======================================================================
 Package       Arch      Version                      Repository  Size
=======================================================================
Installing:
 bind          x86_64    32:9.8.2-0.62.rc1.el6_9.1    updates    4.0 M
 bind-utils    x86_64    32:9.8.2-0.62.rc1.el6_9.1    updates    188 k
Installing for dependencies:
 bind-libs     x86_64    32:9.8.2-0.62.rc1.el6_9.1    updates    891 k

Transaction Summary
=======================================================================
Install       3 Package(s)

Total download size: 5.1 M
Installed size: 10 M
Is this ok [y/N]: y
... (생략)
Installed:
  bind.x86_64 32:9.8.2-0.62.rc1.el6_9.1                                
  bind-utils.x86_64 32:9.8.2-0.62.rc1.el6_9.1                          

Dependency Installed:
  bind-libs.x86_64 32:9.8.2-0.62.rc1.el6_9.1                           

Complete!

2 서비스 시작[ | ]

[root@zetawiki ~]# service named status
rndc: neither /etc/rndc.conf nor /etc/rndc.key was found
named is stopped
[root@zetawiki ~]# service named start
Generating /etc/rndc.key:                                  [  OK  ]
Starting named:                                            [  OK  ]

3 확인[ | ]

[root@zetawiki ~]# cat /etc/rndc.key
key "rndc-key" {
	algorithm hmac-md5;
	secret "ZU4AhX4tNdEDvTWDyj3N5W==";
};
[root@zetawiki ~]# netstat -tnlp | grep named
tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LISTEN      8327/named          
tcp        0      0 127.0.0.1:953               0.0.0.0:*                   LISTEN      8327/named          
tcp        0      0 ::1:53                      :::*                        LISTEN      8327/named          
tcp        0      0 ::1:953                     :::*                        LISTEN      8327/named

4 같이 보기[ | ]

5 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}