Net_DNS Implementation

From: Date: Fri, 17 Sep 2004 11:26:34 +0000
Subject: Net_DNS Implementation
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-33407@lists.php.net to get a copy of this message
Net_DNS Implementation I was trying to implement the example published on http://www.ypass.net/software/php/Net_DNS/examples/update.html but am getting an error on this statement: $privkey="IQb1bG+vxnsLTMvTwXNqgy=="; : : $tsig = new Net_DNS_RR("dyndns.mydomain.com. TSIG " . $privkey); Error: Fatal error: Call to undefined function: mhash() in /usr/share/pear/Net/DNS/RR/TSIG.php on line 187 from named.conf: key "dyndns.mydomain.com." { algorithm hmac-md5; secret "IQb1bG+vxnsLTMvTwXNqgy=="; }; zone "dyndns.mydomain.com" IN { type master; file "dyndns.mydomain.com"; allow-update { key "dyndns.mydomain.com."; }; }; what is the correct way to pass parameters to the Net_DNS_RR() function? begin 666 spacer.gif M1TE&.#EA!0%(#_,# P `"'Y! $```+ ```%40 ($A(^I6 `[ &C(^I6 `[ ` end

« previous php.pear.dev (#33407) next »