note 36005 deleted from function.gethostbyname by didou
| From: | didou@php.net | Date: | Fri, 27 Feb 2004 15:57:51 +0000 |
| Subject: | note 36005 deleted from function.gethostbyname by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-65891@lists.php.net to get a copy of this message | ||
Note Submitter: M Hoskison
----
As of very recently, Verisign have abused their market position and have entered a wildcard A RR in
the .com and .net zone files. This means that any domain that doesn't exist within the zone
files will *always* resolve to 64.94.110.11 and not return NXDOMAIN as required by the RFCs.
; <<>> DiG 9.2.1 <<>> not_a_real_domain.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22357
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 13, ADDITIONAL: 0
;; QUESTION SECTION:
;not_a_real_domain.com. IN A
;; ANSWER SECTION:
not_a_real_domain.com. 900 IN A 64.94.110.11
;; AUTHORITY SECTION:
com. 172800 IN NS a.gtld-servers.net.
com. 172800 IN NS b.gtld-servers.net.
com. 172800 IN NS c.gtld-servers.net.
com. 172800 IN NS d.gtld-servers.net.
com. 172800 IN NS e.gtld-servers.net.
com. 172800 IN NS f.gtld-servers.net.
com. 172800 IN NS g.gtld-servers.net.
com. 172800 IN NS h.gtld-servers.net.
com. 172800 IN NS i.gtld-servers.net.
com. 172800 IN NS j.gtld-servers.net.
com. 172800 IN NS k.gtld-servers.net.
com. 172800 IN NS l.gtld-servers.net.
com. 172800 IN NS m.gtld-servers.net.
Bear this in mind if you're checking for the existance of a domain name.