Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42524 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50963 invoked from network); 7 Jan 2009 08:06:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jan 2009 08:06:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.21 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.218.21 mail-bw0-f21.google.com Received: from [209.85.218.21] ([209.85.218.21:41869] helo=mail-bw0-f21.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B8/F0-41481-88264694 for ; Wed, 07 Jan 2009 03:06:32 -0500 Received: by bwz14 with SMTP id 14so21146834bwz.23 for ; Wed, 07 Jan 2009 00:06:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=zk2VHUwPeuvFLGrxczn5m9NROiV28XKVq/bu5ZMxw1E=; b=VQCQ1dTYpzIMzLv8ZIQ8cqEMMKGXJMfR8KrmGDT3+PpWZDzNyYb7kkVOONpbn4UV4r j2MJOs6Clj086Ssa8Rwxg+b2wxVqCEvNdHC7vVgGXILlAQjuVYOLMaSeipAiWsDiYtjb dXWJr+04f4yxHOgqFXePcQwZMetthFpfcmE9I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=T9i30vPi/RTok0BSijSG6fni/YhE0DLCVlki1bs1/TpZFkOENxcYGjeSQvjYm4NF+h d63+gFXLS7vmeTgiKuqqgERQybw0VmXaz/EiGFEIfMEA72PrZAC9YKGlbyWxNTawCiR8 R8/ituPl68Pf/N9NkG3nT361Kk9mxDGlct/3o= Received: by 10.181.48.13 with SMTP id a13mr8823434bkk.97.1231315588655; Wed, 07 Jan 2009 00:06:28 -0800 (PST) Received: by 10.181.203.16 with HTTP; Wed, 7 Jan 2009 00:06:28 -0800 (PST) Message-ID: <7f3ed2c30901070006r66d667c5nf13611547f95e6ba@mail.gmail.com> Date: Wed, 7 Jan 2009 09:06:28 +0100 To: "Kalle Sommer Nielsen" Cc: "Scott MacVicar" , "PHP internals" In-Reply-To: <2dedb8a0901062249w16eb644er8426c7db0f197d6d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2dedb8a0901062249w16eb644er8426c7db0f197d6d@mail.gmail.com> Subject: Re: [PHP-DEV] dns_get_record for OSX From: hannes.magnusson@gmail.com ("Hannes Magnusson") On Wed, Jan 7, 2009 at 07:49, Kalle Sommer Nielsen wrote: > Hi Scott > > 2009/1/7 Scott MacVicar : >> I went to look at the bug Pierre mention earlier and noticed that >> dns_get_record isn't implemented on OS X, this looks to be down to the fact >> that it has a bind 8 BC layer that we use by default for some reason. I >> tried to make it use the bind 9 interface but it wasn't a simple task as >> some other things were missing. >> >> End result here is a patch that allows bind 8 to work and therefore OS X, >> the main difference is that there is a shared _res structure rather than a >> per request one. > > Does this mean it will also work on BSD? As far I remember then > dns_get_record wasn't implemented on BSD aswell. If not then it would FreeBSD ports have had their own patch for years. -Hannes