Modify nsd for special purpose

Olaf M. Kolkman olaf at NLnetLabs.nl
Wed Jan 11 09:19:53 UTC 2006


On Jan 11, 2006, at 09:33 , Robert Martin-Legene wrote:

> On Tue, Jan 10, 2006 at 02:48:52PM -0800, Steven Z wrote:
>> I am modifying nsd such that it only response with fixed results. For
>> example, it will response with result "10.0.0.1" to any query. (Not
>> for hacking but for virus test bed.)
>
> Depending on the load you will be experiencing, maybe perl's
> Net::DNS::Nameserver would be enough for you. The manual page of that
> module actually has an example which does pretty much what you  
> want. Of
> course perl is not NSD, but I thought it might possibly do the  
> trick for
> you.


In fact Net::DNS::TestNS might just be the tool for you.

http://search.cpan.org/~olaf/Net-DNS-TestNS-1.09/TestNS.pm

Olaf


-----------------------------------------------------------
Olaf M. Kolkman
NLnet Labs
http://www.nlnetlabs.nl/



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 227 bytes
Desc: This is a digitally signed message part
URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20060111/7ef80f90/attachment.bin>


More information about the nsd-users mailing list