1. whoishg.zone 파일 생성및 작성
(/var/named/chroot/var/named)
============DNS Master====================
-----------내 설정------------------------------
$TTL 86400
@ IN SOA ns.whoishg.com. root.whoishg.com. (
42 ; serial
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS ns1.whoishg.com.
IN A 118.128.134.115
IN MX 10 mail.whoishg.com.
ns IN A 118.128.134.115
www iN A 118.128.134.103
mail IN A 118.128.134.107
ftp IN A 118.128.134.110
whoishg.com IN A 118.128.134.103
whoishg.com. IN TXT "v=spf1 ip4:118.128.134.107 -all"
<== 정상적인 메일 발송을 위해 SPF(DNS zone 파일에TXT) 레코트 설정함.
-----------------------------------------------
2. zone 파일 소유권 변경 및 심볼릭 링크 만들기
# chown named.named whoishg.zone
# ln -s /var/named/chroot/var/named/whoishg.zone /var/named/whoishg.zone
---------------------------------------------
============DNS Slaves 예정==============
$TTL 86400
@ IN SOA ns2.whoishg.com. root.whoishg.com. (
43 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS ns1.whoishg.com.
IN A 118.128.134.116
IN MX 10 mail.whoishg.com.
ns IN A 118.128.134.116
www iN A 118.128.134.103
mail IN A 118.128.134.107
ftp IN A 118.128.134.110
whoishg.com IN A 118.128.134.103
mail IN A 118.128.134.107
'DNS 서버구축 > 작업일지' 카테고리의 다른 글
conf 설정파일 작업일지_0328 (0) | 2013.04.04 |
---|