Marcus Boerger
d4f5b3f0a9
- This is PHP 6 - if this ... ever gets out
2009-03-10 23:40:06 +00:00
Felipe Pena
a5e405424e
- 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)
- Unicode++ (Felipe)
2009-01-12 14:53:03 +00:00
Scott MacVicar
4c66135f5b
MFB Add support for the older style bind 8 functions, this adds support for OS X to use all of the dns_* functions.
2009-01-11 23:47:52 +00:00
Felipe Pena
371cecee32
- Improved fix for #47035 (win32 part by Henrique M. Decaria)
...
[DOC] The TXT part needs be returned as an array of strings.
2009-01-11 18:38:00 +00:00
Felipe Pena
6e860e51d4
- Fixed bug #47035 (dns_get_record returns a garbage byte at the end of a TXT record)
2009-01-08 17:19:08 +00:00
Pierre Joye
34b620d2ff
- MFB: fix build for win
2009-01-06 23:51:03 +00:00
Pierre Joye
91d37ce8f0
- MFB: fix build
2009-01-06 22:00:23 +00:00
Pierre Joye
7844cc3873
- [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:44:56 +00:00
Antony Dovgal
4c0a9448a9
don't use WRONG_PARAM_COUNT with new param parsing API
2008-12-31 15:48:06 +00:00
Ilia Alshanetsky
15aada4fa2
MFB: Added gethostname() to return the current system host name.
2008-12-31 14:33:41 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Felipe Pena
46096f5c9d
- Fixed bug #42855 (dns_get_record() doesn't return all text from TXT record)
...
patch by: misc at e2007 dot cynergi dot com
2008-11-03 11:33:32 +00:00
Pierre Joye
adfa214688
- drop bindlib usage on windows
...
- inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
2008-08-21 23:37:40 +00:00
Matt Wilmas
e2730a196f
Fixed Windows build now that HAVE_INET_PTON is defined
2008-05-23 09:40:19 +00:00
Etienne Kneuss
607d8114a7
Fix dns_check_proto (related to #44723 )
2008-04-14 16:49:30 +00:00
Ilia Alshanetsky
f5aae18ad3
MFB: Fixed bug #43871 (crash inside dns_get_record)
2008-01-17 14:12:36 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Derick Rethans
1e9fec2a49
- Fixed weights array, which was broken with:
...
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dns.c?r1=1.80&r2=1.81
2007-11-22 10:18:30 +00:00
Jani Taskinen
c2fe547076
nuke compile warning
2007-11-05 13:42:16 +00:00
Jani Taskinen
32e04e4f7c
ws
2007-11-05 13:40:36 +00:00
Antony Dovgal
e29daf052a
fix #41795 (checkdnsrr does not support DNS_TXT type)
2007-06-26 11:03:42 +00:00
Scott MacVicar
ecab534aa8
MFB: Fixed bug #41347 (checkdnsrr() segfaults on empty hostname).
2007-05-14 14:38:29 +00:00
Marcus Boerger
20a40063c5
- avoid sprintf
2007-02-24 16:25:58 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Dmitry Stogov
c64e0f0e21
ZTS fix
2006-09-25 06:59:02 +00:00
Sara Golemon
423af2f426
PHP6 Updates and some very minor feature add in dns_get_record()
2006-09-25 02:27:24 +00:00
Dmitry Stogov
128548a5c0
Disabled autoconversion of hash keys (from string to unicode) for PHP arrays
2006-09-19 10:38:31 +00:00
Dmitry Stogov
c366cc6d1a
Nuke int32_t (everywhere except streams layer) and signed/unsigned warnings
2006-03-02 13:12:45 +00:00
foobar
251c5173fd
bump year and license version
2006-01-01 13:10:10 +00:00
foobar
c297b31a52
- Nuke php3 legacy
2005-12-05 22:21:12 +00:00
Antony Dovgal
a80a5b8cda
apply workaround for the leak only when GLIBC is used
2005-10-25 14:56:48 +00:00
Antony Dovgal
e90fd61a77
fix problem with garbage appearing in hostnames
2005-10-25 08:19:11 +00:00
Antony Dovgal
85e1d03261
fix #34938 (dns_get_record() doesn't resolve long hostnames and leaks)
2005-10-23 18:31:36 +00:00
Ilia Alshanetsky
6a271cc9c9
MFB51: Fixed memory leak on error.
2005-10-23 15:29:38 +00:00
Antony Dovgal
d6f6d9f840
fix possible crash in dns_get_record()
...
cleanup code a bit
(partly fixes #34938 )
2005-10-21 13:48:07 +00:00
Dmitry Stogov
8f6f97a77d
Unicode support
2005-08-23 12:53:31 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Sara Golemon
d1341b1c15
Add A6 support, fix IPv6 address parsing, and improve define compatability
2004-08-06 18:38:35 +00:00
Sara Golemon
dd28c137f6
Cleanup, minor refactor, and CS
2004-03-19 22:21:53 +00:00
Sara Golemon
75268270d6
Bug Fix #27657 : TXT records longer than MAXHOSTNAMELEN cause segfaults.
2004-03-19 21:42:29 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
foobar
36b255fa66
ws
2003-12-07 18:19:30 +00:00
Marko Karppinen
074ca45399
Workaround for bug #25955
...
Generalized a Darwin check in dns.c to a check for inet_pton() (kalowsky)
2003-10-24 17:09:36 +00:00
Hartmut Holzgraefe
075e66cc08
signed/unsigned compiler warning fixes
2003-09-26 08:09:56 +00:00
Sara Golemon
29664d9322
MFB: Plug leak when invalid domain name provided.
2003-09-01 22:38:40 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Sara Golemon
451cd602f6
HINFO RDATA is <label><label> not <nshort><nshort>
2003-05-06 19:51:46 +00:00
Sara Golemon
5d3a8e4ce7
Add support for SRV and NAPTR records to dns_get_record() and dns_check_record()
...
Feature Request #23407
2003-04-29 22:02:01 +00:00
Hartmut Holzgraefe
dbe4f2238c
proto fixes
2003-03-17 13:11:19 +00:00
foobar
c87c4c7bd7
Extra paranoia checks if dn_skipname/dn_expand exist or not
2003-02-24 00:09:18 +00:00