Hi Ed, Ed Greshko wrote: > Does anyone know of a way to get ncat to listen on port 53 when using systemd-resolved? > > [root@meimei ~]# ncat -l -4 -p 53 > Ncat: bind to 0.0.0.0:53: Address already in use. QUITTING. You can't bind to the port if it's already in use. But if you're okay with using a local IP, you can bind to 127.0.0.2 (or anything > .1, if resolved or other dns server are listening on localhost). $ sudo ncat -l -4 127.0.0.2 53 I didn't use the -p option there, as it's for the source port. Using the -p option doesn't do what I presume you want, which is to have ncat listening on port 53 so you can connect to it for testing. > (no rants, please) Where's the fun in that? ;) -- Todd
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure