지금 AWS에 설치된 아파치에서 proxy를 사용하여 DDNS 설정된 집 PC Server로 접속하게 되어 있다.
그런데 한 번씩 AWS에서 설정된 DNS server가 iptime.org 도메인을 찾지 못하는 경우가 있다.
~$ nslookup XXXX.iptime.org
Server: 172.31.0.2
Address: 172.31.0.2#53
** server can’t find wzd.iptime.org: NXDOMAIN
그러나 PC나 핸드폰에서는 제대로 동작한다.
aleckim$ nslookup XXXX.iptime.org
Server: 210.220.163.82
Address: 210.220.163.82#53
Non-authoritative answer:
Name: XXXX.iptime.org
Address: 61.98.XXX.XXX
이 경우에는 /etc/resolv.conf에 설정된 nameserver adress를 찾을 수 있는 210.220.163.82로 변경해주면 된다.
그리고 apache2 server를 재실행해주어야 한다.