You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm following your guide on my way to implementing my rust DNS server, but serval trials with your script on catching DNS querying packets lasted an empty query-packet.txt.
nc -u -l 1053 google.com
I'm using Arch Linux and my netcat version is GNU netcat 0.7.1. The proper way to catch the packet shall be as the following script, instead.
You might be using other versions of netcat, or the (GNU version) netcat itself had an update on its CLI. After all the script does not work on my environment, please take a look.
The text was updated successfully, but these errors were encountered:
There's a few different versions of netcat around, and they seem to take incompatible arguments. I don't remember on top of my head which version I used, but I'll check and add a note about it.
I'm following your guide on my way to implementing my rust DNS server, but serval trials with your script on catching DNS querying packets lasted an empty
query-packet.txt
.I'm using Arch Linux and my
netcat
version is GNU netcat 0.7.1. The proper way to catch the packet shall be as the following script, instead.# use `-p` option explicitly nc -u -l -p 1053 google.com
You might be using other versions of
netcat
, or the (GNU version)netcat
itself had an update on its CLI. After all the script does not work on my environment, please take a look.The text was updated successfully, but these errors were encountered: