Commit Graph

21 Commits

Author SHA1 Message Date
Tjerk Meesters
904dca6392 Changed based on comments and make its behaviour equal to the Windows version 2014-11-30 22:42:13 -08:00
Veres Lajos
35101e9ef4 a few typofixes 2014-02-14 14:51:10 +02:00
Pierre Joye
7e5d92106b - unify warning between win and unix and enable test 2011-09-04 21:48:22 +00:00
Gustavo André dos Santos Lopes
17dc181117 - Removed redundant local variable in dns_get_record.
- (5.3) Fixed bug in the Windows implementation of
  dns_get_record, where the two last parameters wouldn't be
  filled unless the type were DNS_ANY (Gustavo).
2010-10-11 03:07:03 +00:00
Gustavo André dos Santos Lopes
91f64706c2 - [DOC] Added a 5th parameter to dns_get_record, a boolean that tells whether to activate
"raw mode". In this mide, $type (2nd parameter) is the numeric type of the record, and
  the responses are not parsed -- the "type" element will be numeric and there will be
  a "data" element with the raw data of the response buffer, which the programmer will
  have to parse.
- Fixed bug in the Win32 implementation of dns_get_record, where the 3rd and 4th arguments
  would only be filled if the 2nd ($type) was DNS_ANY.
- [DOC] The 3rd and 4th parameters can now be NULL (changed their arginfo).
2010-10-11 02:48:23 +00:00
Gustavo André dos Santos Lopes
b1d5cf7348 - Added numeric record type and raw data for unknown DNS
record types.
2010-10-08 23:02:37 +00:00
Pierre Joye
2110655d4d - WS 2010-09-06 14:43:44 +00:00
Pierre Joye
abf4853145 - fix bug #52260, catch all DNS not found error 2010-09-06 10:57:42 +00:00
Pierre Joye
bc226fafed - Fix bug #52101, dns_get_record()garbage in 'ipv6' field 2010-06-17 09:26:29 +00:00
Pierre Joye
46c4029341 - #51844, checkdnsrr does not support types other than MX 2010-05-17 18:55:35 +00:00
Pierre Joye
80696a6f77 - fix and improve dns' AAAA support on windows 2009-08-10 08:05:11 +00:00
Pierre Joye
4668ca80b5 - [DOC] Fixed #49183 patch for VC6, NAPTR is only available in VC9+ build 2009-08-08 13:01:13 +00:00
Pierre Joye
35ad8e6c46 - Fixed #49183, dns_get_record does not return NAPTR records 2009-08-07 13:31:09 +00:00
Scott MacVicar
af5df4c813 Change dns.h to php_dns.h, part of my dns cleanup 2009-08-05 23:20:17 +00:00
Pierre Joye
c7e0d95deb - silent compiler warning 2009-04-20 08:41:39 +00:00
Pierre Joye
70c96f788d - nuke unused variable 2009-04-20 08:40:39 +00:00
Felipe Pena
47a8643e71 - Reverted my previous commit to avoid unnecessary BC.
[DOC] Added new entry to the array returned by dns_get_record(), 'entries', which contains the separated value from TXT value. (so 'txt' kept the concatenated version) (Pierre)
2009-01-12 20:07:28 +00:00
Felipe Pena
cc50663b56 MFH:
- Improved fix for #47035 (win32 part by Henrique M. Decaria)
[DOC] The TXT part needs be returned as an array of strings. (dns_get_record())
2009-01-11 18:47:17 +00:00
Pierre Joye
b7063014da - sanity check if we got an A as well (valid too but not desired) 2009-01-07 01:35:36 +00:00
Pierre Joye
789367bd7e - [DOC] VC6 does not have NAPTR 2009-01-06 23:23:28 +00:00
Pierre Joye
3c967db4a1 - [MFH]
- [DOC] add support for all DNS function on Windows
  - dns_check_record  (and its alias  checkdnsrr)
  - dns_get_record
   - IPV6 specific info not available yet:
     . AAAA info is available only on vista/2k8 for now
     . A6 info is not available
  - dns_get_mx (and its alias getmxrr)
2009-01-06 20:48:21 +00:00