DNS 서버에 등록
페이지 정보
본문
1. /var/named/zone-0.168.192 에 추가 (192.168.0.XX의 아이피를 가질 경우)
---------------------------------------------------------
@ IN SOA ns1.nameserver.co.kr. admin.nameserver.co.kr. (
2003012701 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; default_ttl
)
IN NS ns1.nameserver.co.kr.
123 IN PTR ns2.nameserver.co.kr.
124 IN PTR jjjboard.com.
128 IN PTR mail.nameserver.co.kr.
---------------------------------------------------------
2. /etc/named.conf 에 추가함
---------------------------------------------------------
options {
directory "/var/named";
};
zone "." {
type hint;
file "named.ca";
};
zone "infomed.co.kr"{
type master;
file "zone-jjjboard.com";
};
--------------------------------------------------------
3. /var/named/zone-도메인명 파일생성
---------------------------------------------------------
@ IN SOA ns1.nameserver.co.kr. administrator.nameserver.co.kr. (
2003012702 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; default_ttl
)
IN NS ns1.nameserver.co.kr.
@ IN A 192.168.0.124
@ IN MX 10 mail.nameserver.co.kr
www IN CNAME @
----------------------------------------------------------
---------------------------------------------------------
@ IN SOA ns1.nameserver.co.kr. admin.nameserver.co.kr. (
2003012701 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; default_ttl
)
IN NS ns1.nameserver.co.kr.
123 IN PTR ns2.nameserver.co.kr.
124 IN PTR jjjboard.com.
128 IN PTR mail.nameserver.co.kr.
---------------------------------------------------------
2. /etc/named.conf 에 추가함
---------------------------------------------------------
options {
directory "/var/named";
};
zone "." {
type hint;
file "named.ca";
};
zone "infomed.co.kr"{
type master;
file "zone-jjjboard.com";
};
--------------------------------------------------------
3. /var/named/zone-도메인명 파일생성
---------------------------------------------------------
@ IN SOA ns1.nameserver.co.kr. administrator.nameserver.co.kr. (
2003012702 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; default_ttl
)
IN NS ns1.nameserver.co.kr.
@ IN A 192.168.0.124
@ IN MX 10 mail.nameserver.co.kr
www IN CNAME @
----------------------------------------------------------
- 이전글열려 있는 포트(port) 확인 21.02.10
- 다음글시간 맞추기 21.02.10
댓글목록
등록된 댓글이 없습니다.