brunch

You can make anything
by writing

C.S.Lewis

by Master Seo Jun 14. 2017

29.DNS Zone File 설정

6.1.  DNS Zone File 설정


# cd /var/named/chroot/var/named/

# cp   localdomain.zone    serverchk.com.zone

[root@ns2 named]# more serverchk.com.zone

$ttl 100

@               IN SOA  ns1 root (

                                2016090905 ; serial

                               900      ; refresh (15 mins)

                               900        ; retry (15 minutes)

                               604800     ; expire (1 week)

                                180       ; minimum (3 minutes)

                               )

                       NS      ns1.serverchk.com.

                       NS      ns2.serverchk.com.

                       NS      ns3.serverchk.com.

                       A       211.35.65.68

                       MX      10 spam.serverchk.com.

                       MX      20  mail.serverchk.com.

                       A       210.116.123.25

ftp                    A       211.35.65.68

www                    A       210.116.123.25

spam                   A       210.116.123.25

www2    10              A       210.116.123.25

ns1                    A       211.35.65.68

ns2                    A       210.116.123.25

ns3                    A       210.116.123.25

mail                    A       211.35.65.

serverchk.com.         IN      TXT     "v=spf1 ip4:210.116.123.25ip4:210.116.123.26 ~all"

serverchk.com.         IN      SPF     "v=spf1 ip4:210.116.123.25ip4:210.116.123.26 ~all"





다음

https://brunch.co.kr/@topasvga/225


매거진의 이전글 28.DNS Named.conf설정
브런치는 최신 브라우저에 최적화 되어있습니다. IE chrome safari