DNS 서버에 등록
페이지 정보
작성자 최고관리자 작성일 21-02-10 16:46 조회 5,497 댓글 0본문
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 @
----------------------------------------------------------
댓글목록 0
등록된 댓글이 없습니다.