<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Net_DNS</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/20099" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18532" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18242" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17957" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17473" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17142" />
      <rdf:li rdf:resource="http://pear.php.net/bug/14830" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/20099">
      <title>Net_DNS: Bug 20099 [Open] Strict warnings in drupal 7</title>
      <link>http://pear.php.net/bugs/20099</link>
      <content:encoded><![CDATA[<pre>Net_DNS Bug
Reported by shreyas
2013-10-15T14:52:17+00:00
PHP: 5.4.2 OS: linux Package Version: 1.0.7

Description:
------------
Strict warning: Declaration of Net_DNS_RR_A::rr_rdata() should be compatible with Net_DNS_RR::rr_rdata(&amp;$packet, $offset) in require_once() (line 21 of /home2/advenus0/public_html/textbookplus/site-php/Net/DNS/RR.php).</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_DNS Bug
Reported by shreyas
2013-10-15T14:52:17+00:00
PHP: 5.4.2 OS: linux Package Version: 1.0.7

Description:
------------
Strict warning: Declaration of Net_DNS_RR_A::rr_rdata() should be compatible with Net_DNS_RR::rr_rdata(&amp;$packet, $offset) in require_once() (line 21 of /home2/advenus0/public_html/textbookplus/site-php/Net/DNS/RR.php).</pre>]]></description>
      <dc:date>2013-10-15T14:56:47+00:00</dc:date>
      <dc:creator>shreyas &amp;#x64;&amp;#111;&amp;#x74; dhokte &amp;#x61;&amp;#116; aviontechnology &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Net_DNS Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18532">
      <title>Net_DNS: Feature/Change Request 18532 [Analyzed] Patch: Adding support for IPv6 hosts</title>
      <link>http://pear.php.net/bugs/18532</link>
      <content:encoded><![CDATA[<pre>Net_DNS Feature/Change Request
Reported by skion
2011-05-13T03:17:52+00:00
PHP: 5.3.6 OS: Ubuntu Package Version: 1.0.7

Description:
------------
The attached patch adds support for querying IPv6-enabled name servers.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_DNS Feature/Change Request
Reported by skion
2011-05-13T03:17:52+00:00
PHP: 5.3.6 OS: Ubuntu Package Version: 1.0.7

Description:
------------
The attached patch adds support for querying IPv6-enabled name servers.</pre>]]></description>
      <dc:date>2011-10-31T17:54:10+00:00</dc:date>
      <dc:creator>pear &amp;#x64;&amp;#111;&amp;#x74; php &amp;#x64;&amp;#111;&amp;#x74; net &amp;#x61;&amp;#116; spam &amp;#x64;&amp;#111;&amp;#x74; ennes &amp;#x64;&amp;#111;&amp;#x74; nl</dc:creator>
      <dc:subject>Net_DNS Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18242">
      <title>Net_DNS: Bug 18242 [Open] ddns creation of TXT records truncates to last word</title>
      <link>http://pear.php.net/bugs/18242</link>
      <content:encoded><![CDATA[<pre>Net_DNS Bug
Reported by dundakitty
2011-02-05T01:00:52+00:00
PHP: 5.2.12 OS: Redhat ES 3.0 Package Version: 1.0.7

Description:
------------
When creating TXT records, the rdata field is truncated to just the last word.
Adding double quotes around the data passes the string through, but now the data packet includes the double quotes.

The problem is with the preg_match statement at line 62 of TXT.php.  I don't understand the purpose of the preg_match.  Wouldn't a 'trim()' call be sufficient?

Test script:
---------------
&lt;?php
require_once('Net/DNS.php');

$zone = 'sasinstitute.net';
$nm = 'ddns-test.' . $zone;
$rd = 'v=spf1 mx ip4:192.35.83.16/28 -all';

$rr = &amp;Net_DNS_RR::factory(&quot;$nm 3600 IN TXT $rd&quot;);
$rr-&gt;display();
?&gt;


Expected result:
----------------
Entire rdata field is present:

ddns-test.sasinstitute.net.	3600	IN	TXT	&quot;v=spf1 mx ip4:192.35.83.16/28 -all&quot;


Actual result:
--------------
rdata is trunctated to the last word:

ddns-test.sasinstitute.net.	3600	IN	TXT	&quot;-all&quot;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_DNS Bug
Reported by dundakitty
2011-02-05T01:00:52+00:00
PHP: 5.2.12 OS: Redhat ES 3.0 Package Version: 1.0.7

Description:
------------
When creating TXT records, the rdata field is truncated to just the last word.
Adding double quotes around the data passes the string through, but now the data packet includes the double quotes.

The problem is with the preg_match statement at line 62 of TXT.php.  I don't understand the purpose of the preg_match.  Wouldn't a 'trim()' call be sufficient?

Test script:
---------------
&lt;?php
require_once('Net/DNS.php');

$zone = 'sasinstitute.net';
$nm = 'ddns-test.' . $zone;
$rd = 'v=spf1 mx ip4:192.35.83.16/28 -all';

$rr = &amp;Net_DNS_RR::factory(&quot;$nm 3600 IN TXT $rd&quot;);
$rr-&gt;display();
?&gt;


Expected result:
----------------
Entire rdata field is present:

ddns-test.sasinstitute.net.	3600	IN	TXT	&quot;v=spf1 mx ip4:192.35.83.16/28 -all&quot;


Actual result:
--------------
rdata is trunctated to the last word:

ddns-test.sasinstitute.net.	3600	IN	TXT	&quot;-all&quot;</pre>]]></description>
      <dc:date>2011-02-05T01:00:52+00:00</dc:date>
      <dc:creator>Mike &amp;#x64;&amp;#111;&amp;#x74; Mitchell &amp;#x61;&amp;#116; sas &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Net_DNS Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17957">
      <title>Net_DNS: Bug 17957 [Open] Unable to query root</title>
      <link>http://pear.php.net/bugs/17957</link>
      <content:encoded><![CDATA[<pre>Net_DNS Bug
Reported by jerrywilborn
2010-10-15T20:27:16+00:00
PHP: 5.3.3 OS: Fedora Package Version: 1.0.5

Description:
------------
If you attempt to query the root (.) using buildQuestion, the data 
is built incorrectly.

Test script:
---------------
require_once (&quot;Net/DNS.php&quot;);

$packet = new Net_DNS_Packet();
$packet-&gt;buildQuestion('.', 'SOA', 'IN');
$d = $packet-&gt;data();

$sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
socket_set_option($sock, SOL_SOCKET, SO_RCVTIMEO, array('sec' =&gt; 0, 'usec' =&gt; 100000));
socket_sendto($sock, $d, strlen($d), 0, '127.0.0.1', 53);
if (socket_recvfrom($sock, $buf, 1024, FALSE, $host, $port) and $packet-&gt;parse($buf)) print $packet-&gt;string();


Expected result:
----------------
A question of ./IN/SOA.

Actual result:
--------------
The question becomes ./ANY/ANY.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_DNS Bug
Reported by jerrywilborn
2010-10-15T20:27:16+00:00
PHP: 5.3.3 OS: Fedora Package Version: 1.0.5

Description:
------------
If you attempt to query the root (.) using buildQuestion, the data 
is built incorrectly.

Test script:
---------------
require_once (&quot;Net/DNS.php&quot;);

$packet = new Net_DNS_Packet();
$packet-&gt;buildQuestion('.', 'SOA', 'IN');
$d = $packet-&gt;data();

$sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
socket_set_option($sock, SOL_SOCKET, SO_RCVTIMEO, array('sec' =&gt; 0, 'usec' =&gt; 100000));
socket_sendto($sock, $d, strlen($d), 0, '127.0.0.1', 53);
if (socket_recvfrom($sock, $buf, 1024, FALSE, $host, $port) and $packet-&gt;parse($buf)) print $packet-&gt;string();


Expected result:
----------------
A question of ./IN/SOA.

Actual result:
--------------
The question becomes ./ANY/ANY.</pre>]]></description>
      <dc:date>2012-01-27T19:16:05+00:00</dc:date>
      <dc:creator>jerry &amp;#x61;&amp;#116; metairiedata &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Net_DNS Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17473">
      <title>Net_DNS: Bug 17473 [Open] undefined constant SOL_UDP</title>
      <link>http://pear.php.net/bugs/17473</link>
      <content:encoded><![CDATA[<pre>Net_DNS Bug
Reported by hm2k
2010-06-08T00:18:23+00:00
PHP: 5.2.5 OS:  Package Version: 1.0.1

Description:
------------
PHP Notice:  Use of undefined constant SOL_UDP - assumed 'SOL_UDP' in /usr/lib/php/Net/DNS/Resolver.php on line 950
PHP Warning:  socket_create() expects parameter 3 to be long, string given in /usr/lib/php/Net/DNS/Resolver.php on line 950


Test script:
---------------
I'm not 100% sure how to reproduce at this moment in time.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_DNS Bug
Reported by hm2k
2010-06-08T00:18:23+00:00
PHP: 5.2.5 OS:  Package Version: 1.0.1

Description:
------------
PHP Notice:  Use of undefined constant SOL_UDP - assumed 'SOL_UDP' in /usr/lib/php/Net/DNS/Resolver.php on line 950
PHP Warning:  socket_create() expects parameter 3 to be long, string given in /usr/lib/php/Net/DNS/Resolver.php on line 950


Test script:
---------------
I'm not 100% sure how to reproduce at this moment in time.</pre>]]></description>
      <dc:date>2011-09-02T20:42:31+00:00</dc:date>
      <dc:creator>hm2k &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Net_DNS Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17142">
      <title>Net_DNS: Feature/Change Request 17142 [Open] Unit tests are slow</title>
      <link>http://pear.php.net/bugs/17142</link>
      <content:encoded><![CDATA[<pre>Net_DNS Feature/Change Request
Reported by doconnor
2010-02-22T04:23:58+00:00
PHP: 5.2.5 OS:  Package Version: 

Description:
------------
4 minutes to run the test suite? This should be mocked out where possible</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_DNS Feature/Change Request
Reported by doconnor
2010-02-22T04:23:58+00:00
PHP: 5.2.5 OS:  Package Version: 

Description:
------------
4 minutes to run the test suite? This should be mocked out where possible</pre>]]></description>
      <dc:date>2010-08-08T16:40:13+00:00</dc:date>
      <dc:creator>daniel &amp;#x64;&amp;#111;&amp;#x74; oconnor &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Net_DNS Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/14830">
      <title>Net_DNS: Feature/Change Request 14830 [Assigned] Add source port option to resolver</title>
      <link>http://pear.php.net/bugs/14830</link>
      <content:encoded><![CDATA[<pre>Net_DNS Feature/Change Request
Reported by guitarking117
2008-10-19T23:31:17+00:00
PHP: 5.2.6 OS: Suse Linux Package Version: 1.0.0

Description:
------------
With `dig`, the source port for the connection is usually chosen randomly. However, it is possible to specify a source port with the -b option as so:

-b [ip address]#[src port]

Here's a real-life example of how this would work:

-b 206.74.179.17#1024

This is useful as sometimes it is necessary to chose specific port numbers to do certain types of diagnostics. It would be nice of Net_DNS offered a similar option to specify a source port. Currently I'm using Net_DNS for all my other DNS checks (even my reverse DNS checks), but I'm having to exec() dig to perform tests using a specific source port.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_DNS Feature/Change Request
Reported by guitarking117
2008-10-19T23:31:17+00:00
PHP: 5.2.6 OS: Suse Linux Package Version: 1.0.0

Description:
------------
With `dig`, the source port for the connection is usually chosen randomly. However, it is possible to specify a source port with the -b option as so:

-b [ip address]#[src port]

Here's a real-life example of how this would work:

-b 206.74.179.17#1024

This is useful as sometimes it is necessary to chose specific port numbers to do certain types of diagnostics. It would be nice of Net_DNS offered a similar option to specify a source port. Currently I'm using Net_DNS for all my other DNS checks (even my reverse DNS checks), but I'm having to exec() dig to perform tests using a specific source port.</pre>]]></description>
      <dc:date>2010-08-09T10:56:42+00:00</dc:date>
      <dc:creator>nicholas &amp;#x61;&amp;#116; dnscrawler &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Net_DNS Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
