Modify nsd for special purpose

Olaf M. Kolkman olaf at
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 "" 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.


Olaf M. Kolkman
NLnet Labs

-------------- 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: <>

More information about the nsd-users mailing list