기존 도메인이 soato.com이라 할경우 정상 운행중인 zone 파일
soato.com 의 외부 주소는 xx.xx.90.141
www.soato.com 하면xx.xx.90.141로 간다
;;
$TTL 86400
@ IN
SOA server.soato.com. postmaster.soato.com. (
2013022001
; Serial no (yyyy/mm/dd/nn)
3600
; Refresh after 1 hour
1800
; Retry after 30 minutes
604800
; Expire after 1 week
7200 )
; Minimum TTL of 2 hours
IN
NS ns.soato.com.
IN
NS ns2.soato.com.
IN
MX 10 server
;;
;;
router
IN A xx.xx.90.128
IN
MX 10 server
server IN A
xx.xx.90.141
IN
MX 10 server
;;
;; aliases for service
;;
ns IN
CNAME server
smtp IN
CNAME server
pop IN
CNAME server
imap IN
CNAME server
ftp IN
CNAME server
www IN
CNAME server
proxy IN
CNAME server
;;
;; aliases for httpd virtual host
;;
여기에 test.soato.com 일경우 xx.xx.190.143으로 보낼 경우
빨간 부분 추가하면 OK
;;
$TTL 86400
@ IN
SOA server.soato.com. postmaster.soato.com. (
2013022001
; Serial no (yyyy/mm/dd/nn)
3600
; Refresh after 1 hour
1800
; Retry after 30 minutes
604800
; Expire after 1 week
7200 )
; Minimum TTL of 2 hours
IN
NS ns.soato.com.
IN
NS ns2.soato.com.
IN
MX 10 server
;;
;;
router
IN A xx.xx.190.128
IN
MX 10 server
server IN A
xx.xx.190.141
IN
MX 10 server
test IN
A xx.xx.190.143
IN
MX 10 server
;;
;; aliases for service
;;
ns IN
CNAME server
smtp IN
CNAME server
pop IN
CNAME server
imap IN
CNAME server
ftp IN
CNAME server
www IN
CNAME server
proxy IN
CNAME server
;;
;; aliases for httpd virtual host
;;
댓글 없음:
댓글 쓰기