[DNS점검] 12. MX Record 확인

요약

메일서버가 정상동작하게 하기위해서는 MX레코더는 반드시 설정하도록 권장한다.

 

MX레코더는 반드시 설정하도록 권장한다.

 


MX설정을 하지 않는경우 메일 송수신에 문제가 발생될 수 있다.

현재는 MX레코더가 없더라도  A레코더를 찾아응답을 주므로 서비스는 된다.

형식 :       IN  MX  10    mail       


1)  Linux  / Unix서버

# vi   serverchk.com.zone

$TTL    10M
@               IN SOA  ns1.serverchk.com. root (
                                        2007042002      ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum
                                 IN NS           ns1.serverchk.com.
                                 IN NS           ns2.serverchk.com.

                     
           IN   MX   5       spam.serverchk.com.    <- spam 필터장비가 있는경우
                               IN   MX   10       mail.serverchk.com.

                                  IN A            59.6.177.122
                                  IN A            59.6.2.2

ns1.serverchk.com.      IN A            59.6.177.1
ns2.serverchk.com.      IN A            59.6.2.2
www                           IN A               59.6.177.122
mail                            IN A               59.6.177.12
ftp                              IN A               59.6.177.12
spam                          IN A               59.6.177.12

serverchk.com.            IN      TXT     "v=spf1  ip4:59.6.177.122  ip4:59.6.177.0/24 ~all"

 

2) Windows2003 서버

 

설정된 MX레코드 확인법

>dig   serverchk.com    mx

 ; <<>> DiG 9.4.0a6 <<>> serverchk.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1269
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;serverchk.com.                 IN      MX

;; ANSWER SECTION:
serverchk.com.          189     IN      MX      10 mail.serverchk.com.

 

감사합니다.