I'm trying to set up a dnscat2 server using Amazon Lightsail. I've followed the instructions on the github page to the letter, both for the client and the server. The server is set up with a .com domain name, and I've followed the instructions for setting it up as an authoritative name server.
However, when I try setting up sessions using the domain name (using ./dnscat --dns type=A,domain=DOMAIN --no-encryption), I get the following error: Unrecoverable error in libs/buffer.com(699): Program read off the end of the buffer. Setting up the same connection using the IP adress (./dnscat --dns type=A,domain=DOMAIN,port=53 --no-encryption) works just fine.
Both dig and Wireshark show that the queries for the domain name resolve to the correct IP address. Does anyone have any insight as to what might be going on?
I'm trying to set up a dnscat2 server using Amazon Lightsail. I've followed the instructions on the github page to the letter, both for the client and the server. The server is set up with a .com domain name, and I've followed the instructions for setting it up as an authoritative name server.
However, when I try setting up sessions using the domain name (using
./dnscat --dns type=A,domain=DOMAIN --no-encryption
), I get the following error:Unrecoverable error in libs/buffer.com(699): Program read off the end of the buffer.
Setting up the same connection using the IP adress (./dnscat --dns type=A,domain=DOMAIN,port=53 --no-encryption
) works just fine.Both dig and Wireshark show that the queries for the domain name resolve to the correct IP address. Does anyone have any insight as to what might be going on?