[Dnsmasq-discuss] Hoping to boost the judging function of domain name pollution in China

ql li gxfclql at gmail.com
Sun Jul 12 07:27:52 BST 2015


Use in dig AOS can determine whether the domain name from being polluted


dig @8.8.8.8 -t soa twitter.com

; <<>> DiG 9.9.4-RedHat-9.9.4-18.el7_1.1 <<>> @8.8.8.8 -t soa twitter.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38799
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;twitter.com.           IN  SOA

;; ANSWER SECTION:
twitter.com.        2013    IN  A   203.98.7.65

;; Query time: 40 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sun Jul 12 00:52:09 CST 2015
;; MSG SIZE  rcvd: 56

dig @8.8.8.8 -t soa baidu.com

; <<>> DiG 9.9.4-RedHat-9.9.4-18.el7_1.1 <<>> @8.8.8.8 -t soa baidu.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46002
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;baidu.com.         IN  SOA

;; ANSWER SECTION:
baidu.com.      6527    IN  SOA dns.baidu.com. sa.baidu.com.
2012125908 300 300 2592000 7200

;; Query time: 74 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sun Jul 12 00:52:14 CST 2015
;; MSG SIZE  rcvd: 81

Would take a record if the domain name is polluted, the normal domain
name is the SOA record

Pollution domain name if required by other servers to resolve
Here are the relevant procedures:https://github.com/XiaoxiaoPu/sans



More information about the Dnsmasq-discuss mailing list