1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/dns/p5-Net-DNS-TestNS/pkg-descr
Wen Heping 331728e9f2 Class to setup a number of nameservers that respond to specific DNS queries
(QNAME,QTYPE) by prespecified answers. This class is to be used in test suites
where you want to have servers to show predefined behavior.

If the server will do a lookup based on QNAME,QTYPE and return the specified
data. If there is no QNAME, QTYPE match the server will return a SERVFAIL.

A log will be written to STDERR it contains time, IP/PORT, QNAME, QTYPE, RCODE.

WWW:    http://search.cpan.org/dist/Net-DNS-TestNS/

PR:		ports/148161
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Feature safe:	yes
2010-06-27 01:21:47 +00:00

11 lines
499 B
Plaintext

Class to setup a number of nameservers that respond to specific DNS queries
(QNAME,QTYPE) by prespecified answers. This class is to be used in test suites
where you want to have servers to show predefined behavior.
If the server will do a lookup based on QNAME,QTYPE and return the specified
data. If there is no QNAME, QTYPE match the server will return a SERVFAIL.
A log will be written to STDERR it contains time, IP/PORT, QNAME, QTYPE, RCODE.
WWW: http://search.cpan.org/dist/Net-DNS-TestNS/