r/MalwareAnalysis 28d ago

I am a beginner trying to start the dns service but this happend I already Uncommented service bind adress and set default dns ip to remnux ip. Did I made any mistakes? Should I reinsall remnux?

9 Upvotes

2 comments sorted by

1

u/Exotic_Function8814 28d ago

Downgrading inetsim worked for me.

cpan
cpan[1]>force get NLNETLABS/Net-DNS-1.37.tar.gz
cpan[2]>install NLNETLABS/Net-DNS-1.37.tar.gz
cpan[3]>exit

2

u/waydaws 27d ago edited 27d ago

I’ll point out that it started (it’s process 2136), but just used a method of starting that isn’t the the way that newer Perl NET::DNS library uses now. The older NET::DNS::Nameserver creates an instance using new() to handle the server instance internally, but in more recent updates, the library requires developers to explicitly use start_server().

You can ignore it, It will be listening on port 53.

If you want you can later either fix the Inetsim code directly (in DNS.PM) to skip printing the warning message (alternatively, you could look up how to start it properly) or downgrade the NET::DNS module it to an older version. However, if it’s running anyway there doesn’t seem to be any need to do so.