example.com 및 sub.example.com과 같은 집에서 몇 개의 웹 사이트를 호스팅하고 있는데 DNS 레코드가 올바르게 설정되어 있지만 (라우터의 IP 주소를 가리키는 example.com의 레코드, (* ) 값이 'example.com'인 경우 라우터가 하위 도메인을 확인할 수없는 것 같습니다. 다음은 실제 도메인 및 하위 도메인 이름이 example.com 및 sub.example.com으로 대체 된 일부 드릴의 출력입니다.
~ $ drill example.com @8.8.8.8
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 55521
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; example.com. IN A
;; ANSWER SECTION:
example.com. 899 IN A 109.133.244.17
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
;; Query time: 70 msec
;; SERVER: 8.8.8.8
;; WHEN: Fri Oct 13 10:06:23 2017
;; MSG SIZE rcvd: 41
~ $ drill sub.example.com @8.8.8.8 <<<
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 33949
;; flags: qr rd ra ; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; sub.example.com. IN A
;; ANSWER SECTION:
sub.example.com. 1799 IN CNAME example.com.
example.com. 899 IN A 109.133.244.17
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
;; Query time: 105 msec
;; SERVER: 8.8.8.8
;; WHEN: Fri Oct 13 10:06:33 2017
;; MSG SIZE rcvd: 62
~ $ drill example.com @192.168.1.1
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 59107
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; example.com. IN A
;; ANSWER SECTION:
example.com. 781 IN A 109.133.244.17
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
;; Query time: 26 msec
;; SERVER: 192.168.1.1
;; WHEN: Fri Oct 13 10:06:43 2017
;; MSG SIZE rcvd: 41
~ $ drill -V 10000 sub.example.com @192.168.1.1
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 0
;; flags: rd ; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; sub.example.com. IN A
;; ANSWER SECTION:
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
;; Query time: 0 msec
;; WHEN: Fri Oct 13 10:17:39 2017
;; MSG SIZE rcvd: 0
Error: error sending query: Could not send or receive, because of network error
완전성을 위해 다음은 도메인과 관련된 DNS 레코드입니다.
@ 900 IN A 109.133.244.17
@ 10800 IN SOA ns1.gandi.net. hostmaster.gandi.net. 1507886704 10800 3600 604800 10800
sub 10800 IN CNAME example.com.
imap 10800 IN CNAME access.mail.gandi.net.
pop 10800 IN CNAME access.mail.gandi.net.
smtp 10800 IN CNAME relay.mail.gandi.net.
webmail 10800 IN CNAME webmail.gandi.net.
이 호기심을 일으키는 원인이 무엇인지 아는 사람이 있습니까?
감사합니다.