'AWS'에 해당되는 글 2건

  1. 2017.11.08 Reverse DNS 조회 및 AWS EIP 등록 방법
  2. 2017.09.28 AWS Amazon Linux timezone 변경
Information2017. 11. 8. 13:22

메일을 발송한 서버 IP 주소의 소유자와 메일 주소의 도메인이 일치하는지

확인하여 스팸 메일 여부를 판단하는 정책이 있음.


DNS는 도메인에 해당되는 IP 주소를 확인하는 것인데

이 경우는 반대로 IP 주소에 해당되는 도메인을 확인하는 과정임.


그래서 Reverse DNS라고 부르는 것 같음.


아무튼 IP 주소의 해당되는 Reverse DNS 조회 방법은 간단함.


아래는 조회할 IP 주소가 "A.B.C.D"일 때 실행 예


(윈도우)

$ nslookup -type=ptr A.B.C.D


(리눅스)

$ nslookup A.B.C.D


(출력결과) - 아래 내용 확인

D.C.B.A.in-addr.arpa       name = [등록된 호스트네임 출력]


메일 서버를 직접 운영한다면 반드시 Reverse DNS 등록이 필요함.

등록 방법은 서버 호스팅 업체에 문의하면 알려줌.


참고로 AWS Elastic IP 주소는 아래 링크에서 신청 가능 (IPv6도 신청 가능)

당연한 얘기겠지만 Reverse DNS 신청전에 네임서버에서 DNS 등록을 먼저 해야한다.


https://aws.amazon.com/ko/blogs/aws/reverse-dns-for-ec2s-elastic-ip-addresses/

'Information' 카테고리의 다른 글

윈도우즈 10 DHCPv6 버그 수정(?)  (1) 2017.11.16
openssl s_server example  (0) 2017.09.28
AWS Amazon Linux timezone 변경  (0) 2017.09.28
한글이름  (0) 2017.09.08
windows vim(7.4)에서 diff 사용  (0) 2014.07.17
Posted by OTOTO
Information2017. 9. 28. 11:02

기본으로 설치하면 timezone이 UTC(세계 협정시)임


다른거 없고 아래 링크 안내에 따르면 됨.


http://docs.aws.amazon.com/ko_kr/AWSEC2/latest/UserGuide/set-time.html




서울 리전에 설치한거 기준으로 간략히 정리하면 사용할 표준시간대는 당연히 "Asia/Seoul"이고 아래와 같이 진행


1. ZONE 변경하기

ec2-user@aws:~>sudo vim /etc/sysconfig/clock


ZONE="Asia/Seoul"

UTC=true


2. ntp 서버 변경

ec2-user@aws:~>sudo vim /etc/ntp.conf


#server 0.amazon.pool.ntp.org iburst

#server 1.amazon.pool.ntp.org iburst

#server 2.amazon.pool.ntp.org iburst

#server 3.amazon.pool.ntp.org iburst

server kr.pool.ntp.org

server time1.daum.net

server time2.daum.net


3. 인스턴스에게도 알려주기

ec2-user@aws:~>sudo ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime


4. 리부팅

ec2-user@aws:~>sudo reboot



#참고

ntpd 정상 동작을 위해서는 VPC 보안 그룹에 UDP 123 IN/OUT 모두 개방 필요 ^^



#확인

대략 아래와 같이 표시되면 정상적으로 완료된거임.

ec2-user@aws:~>date

Thu Sep 28 11:02:36 KST 2017

ec2-user@aws:~>ntpstat

synchronised to NTP server (106.247.248.106) at stratum 3 

   time correct to within 54 ms

   polling server every 64 s

ec2-user@aws:~>

'Information' 카테고리의 다른 글

Reverse DNS 조회 및 AWS EIP 등록 방법  (0) 2017.11.08
openssl s_server example  (0) 2017.09.28
한글이름  (0) 2017.09.08
windows vim(7.4)에서 diff 사용  (0) 2014.07.17
sftp umask 설정  (0) 2013.07.24
Posted by OTOTO