[prev in list] [next in list] [prev in thread] [next in thread]
List: djbdns
Subject: Re: Perl/PHP tools to decode/encode DNS requests/replies?
From: Jos Backus <jos () catnook ! com>
Date: 2006-11-25 7:02:31
Message-ID: 20061125070217.GD5945 () lizzy ! catnook ! local
[Download RAW message or body]
On Fri, Nov 24, 2006 at 06:07:10PM -0700, Kelly Jones wrote:
> I'd like to write my own DNS server using Perl or PHP. I've read the
> RFC, and was wondering if there was a Perl/PHP tool that would:
>
> 1. Decode and parse an incoming DNS request so I could see what domain
> is being looked up, what record type is being requested, etc
>
> 2. Let me create a response packet with the DNS reply (IP address for
> CNAME requests, hostnames for MX requests, arbitrary text for TXT
> requests, etc).
For Perl, http://www.net-dns.org/ should do what you want.
--
Jos Backus
jos at catnook.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic