| To: | dns@list.cr.yp.to |
|---|---|
| Subject: | Re: Perl/PHP tools to decode/encode DNS requests/replies? |
| From: | Jos Backus <jos@catnook.com> |
| Date: | Fri, 24 Nov 2006 23:01:55 -0801 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | gmail-djbdns@securepoint.com |
| Delivered-to: | sp.com.list@gmail.com |
| Delivered-to: | mailing list dns@list.cr.yp.to |
| In-reply-to: | <26face530611241707w683f811cw4fb4ea24b110607b@mail.gmail.com> |
| Mail-followup-to: | dns@list.cr.yp.to |
| Mailing-list: | contact dns-help@list.cr.yp.to; run by ezmlm |
| References: | <26face530611241707w683f811cw4fb4ea24b110607b@mail.gmail.com> |
| Reply-to: | jos@catnook.com |
| User-agent: | Mutt/1.5.13 (2006-08-11) |
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 Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Perl/PHP tools to decode/encode DNS requests/replies?, Kelly Jones |
|---|---|
| Next by Date: | Does the order matter for NS records?, Nick Hoffman |
| Previous by Thread: | Perl/PHP tools to decode/encode DNS requests/replies?, Kelly Jones |
| Next by Thread: | Does the order matter for NS records?, Nick Hoffman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |