DB的定期解决方案:
- dig test.example.com @localhost
- ;; ANSWER SECTION:
- test.example.com. 0 IN A 8.8.8.8
mpDNS输出:
- - Request from 127.0.0.1:57698 -> test.example.com. -> 8.8.8.8 (A)
递归CNAME解析:
- dig c1.example.com @localhost
- ;; QUESTION SECTION:
- ;c1.example.com. IN A
- ;; ANSWER SECTION:
- c1.example.com. 0 IN CNAME c2.example.com.
- c2.example.com. 0 IN CNAME c3.example.com.
- c3.example.com. 0 IN CNAME google.example.com.
- google.example.com. 0 IN CNAME google.com.
- google.com. 0 IN A 216.58.206.14
mpDNS输出:
- - Request from 127.0.0.1:44120 -> c1.example.com. -> c2.example.com (CNAME)
- - Request from 127.0.0.1:44120 -> c2.example.com -> c3.example.com (CNAME)
- - Request from 127.0.0.1:44120 -> c3.example.com -> google.example.com (CNAME)
- - Request from 127.0.0.1:44120 -> google.example.com -> google.com (CNAME)
- - Request from 127.0.0.1:44120 -> google.com -> {{resolve::self}} (A)
通配符解析:
- dig not-in-db.com @localhost
- ;; ANSWER SECTION:
- not-in-db.com. 0 IN A 127.0.0.1
mpDNS输出:
- - Request from 127.0.0.1:38528 -> not-in-db.com. -> 127.0.0.1 (A)
通配符子域解析:
- dig wildcard.example.com @localhost
- ;; ANSWER SECTION:
- wildcard.example.com. 0 IN A 7.7.7.7
mpDNS输出:
- - Request from 127.0.0.1:39691 -> wildcard.example.com. -> 7.7.7.7 (A)
转发请求宏:
- dig google.com @localhost
- ;; ANSWER SECTION:
- google.com. 0 IN A 172.217.22.110
mpDNS输出:
- - Request from 127.0.0.1:53487 -> google.com. -> {{resolve::self}} (A)
自定义域宏的转发请求:
- dig notgoogle.com @localhost
- ;; ANSWER SECTION:
- notgoogle.com. 0 IN A 172.217.22.110
mpDNS输出:
- - Request from 127.0.0.1:47797 -> notgoogle.com. -> {{resolve::google.com}} (A)
(编辑:晋中站长网)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|