MasterDnsVPN icon indicating copy to clipboard operation
MasterDnsVPN copied to clipboard

Alternative solution to "Port 53 Already in Use" error

Open the-vindicar opened this issue 1 month ago • 4 comments

You suggest disabling systemd-resolved. However, systemd-resolved seems to listen to 127.0.0.1:53 specifically. Which means we can have masterdnsvpn listen to external IP address only instead. For example, when using docker or docker-compose, you can use the following syntax for port publishing: 1.2.3.4:53:53/udp, where 1.2.3.4 is your external IP. I've tried this setup, and it seems to work so far.

Is there a reason not to do it this way?

the-vindicar avatar Oct 23 '26 16:10 the-vindicar

سلام من اصلا بلد نیستم .این کارهارو انجام بدم.باید .شخصی را پیدا کنم .تا او این فیلتر شکن .را بسازد....یا اگر میشه خودتون بسازید....من .برای موبایل میخواستم..ساخته شده کامل از جای دانلود کنم .ساختم .کار من نیست . تخصصی.ندارم.

در تاریخ جمعه ۲۳ اکتبر ۲۰۲۶، ۱۹:۴۳ the-vindicar @.***> نوشت:

the-vindicar created an issue (masterking32/MasterDnsVPN#211) https://github.com/masterking32/MasterDnsVPN/issues/211

You suggest disabling systemd-resolved. However, systemd-resolved seems to listen to 127.0.0.1:53 specifically. Which means we can have masterdnsvpn listen to external IP address only instead. For example, when using docker or docker-compose, you can use the following syntax for port publishing: 1.2.3.4:53:53/udp, where 1.2.3.4 is your external IP. I've tried this setup, and it seems to work so far.

Is there a reason not to do it this way?

— Reply to this email directly, view it on GitHub https://github.com/masterking32/MasterDnsVPN/issues/211?email_source=notifications&email_token=CRE6PQUAIHLAXBCSES4IDTT5VN7TJA5CNFSL4Z3JMQ5C6L3HNF2C22DVMIXUS43TOVSS6NRQGAYTGMZWGU3DHJTSMVQXG33OVJZXKYTTMNZGSYTFMSSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L, or unsubscribe https://github.com/notifications/unsubscribe-auth/CRE6PQWW3JRQXRW2VQLLPU35VN7TJAVCNFSNUABGKJSXA33TNF2G64TZHMYTCMZWHE3TIMBXGY5US43TOVSTWNRQGAYTGMZWGU3DHILWAI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

alirezaporamin07-oss avatar Oct 23 '26 16:10 alirezaporamin07-oss

من تخصصی درا ین کارندارم ساخته شده کامل برای موبایل اندرد میخواستم پروژه کا من نیست

alirezaporamin07-oss avatar Oct 23 '26 16:10 alirezaporamin07-oss

در تاریخ جمعه ۲۳ اکتبر ۲۰۲۶، ۱۹:۵۹ A Poramin @.***> نوشت:

سلام من اصلا بلد نیستم .این کارهارو انجام بدم.باید .شخصی را پیدا کنم .تا او این فیلتر شکن .را بسازد....یا اگر میشه خودتون بسازید....من .برای موبایل میخواستم..ساخته شده کامل از جای دانلود کنم .ساختم .کار من نیست . تخصصی.ندارم.

در تاریخ جمعه ۲۳ اکتبر ۲۰۲۶، ۱۹:۴۳ the-vindicar @.***> نوشت:

the-vindicar created an issue (masterking32/MasterDnsVPN#211) https://github.com/masterking32/MasterDnsVPN/issues/211

You suggest disabling systemd-resolved. However, systemd-resolved seems to listen to 127.0.0.1:53 specifically. Which means we can have masterdnsvpn listen to external IP address only instead. For example, when using docker or docker-compose, you can use the following syntax for port publishing: 1.2.3.4:53:53/udp, where 1.2.3.4 is your external IP. I've tried this setup, and it seems to work so far.

Is there a reason not to do it this way?

— Reply to this email directly, view it on GitHub https://github.com/masterking32/MasterDnsVPN/issues/211?email_source=notifications&email_token=CRE6PQUAIHLAXBCSES4IDTT5VN7TJA5CNFSL4Z3JMQ5C6L3HNF2C22DVMIXUS43TOVSS6NRQGAYTGMZWGU3DHJTSMVQXG33OVJZXKYTTMNZGSYTFMSSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L, or unsubscribe https://github.com/notifications/unsubscribe-auth/CRE6PQWW3JRQXRW2VQLLPU35VN7TJAVCNFSNUABGKJSXA33TNF2G64TZHMYTCMZWHE3TIMBXGY5US43TOVSTWNRQGAYTGMZWGU3DHILWAI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

alirezaporamin07-oss avatar Oct 23 '26 16:10 alirezaporamin07-oss

---------- Forwarded message --------- فرستنده: A Poramin @.> ‪Date: جمعه ۲۳ اکتبر ۲۰۲۶، ۲۰:۲۰‬ Subject: Re: [masterking32/MasterDnsVPN] Alternative solution to "Port 53 Already in Use" error (Issue #211) To: masterking32/MasterDnsVPN < @.>

در تاریخ جمعه ۲۳ اکتبر ۲۰۲۶، ۱۹:۵۹ A Poramin @.***> نوشت:

سلام من اصلا بلد نیستم .این کارهارو انجام بدم.باید .شخصی را پیدا کنم .تا او این فیلتر شکن .را بسازد....یا اگر میشه خودتون بسازید....من .برای موبایل میخواستم..ساخته شده کامل از جای دانلود کنم .ساختم .کار من نیست . تخصصی.ندارم.

در تاریخ جمعه ۲۳ اکتبر ۲۰۲۶، ۱۹:۴۳ the-vindicar @.***> نوشت:

the-vindicar created an issue (masterking32/MasterDnsVPN#211) https://github.com/masterking32/MasterDnsVPN/issues/211

You suggest disabling systemd-resolved. However, systemd-resolved seems to listen to 127.0.0.1:53 specifically. Which means we can have masterdnsvpn listen to external IP address only instead. For example, when using docker or docker-compose, you can use the following syntax for port publishing: 1.2.3.4:53:53/udp, where 1.2.3.4 is your external IP. I've tried this setup, and it seems to work so far.

Is there a reason not to do it this way?

— Reply to this email directly, view it on GitHub https://github.com/masterking32/MasterDnsVPN/issues/211?email_source=notifications&email_token=CRE6PQUAIHLAXBCSES4IDTT5VN7TJA5CNFSL4Z3JMQ5C6L3HNF2C22DVMIXUS43TOVSS6NRQGAYTGMZWGU3DHJTSMVQXG33OVJZXKYTTMNZGSYTFMSSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L, or unsubscribe https://github.com/notifications/unsubscribe-auth/CRE6PQWW3JRQXRW2VQLLPU35VN7TJAVCNFSNUABGKJSXA33TNF2G64TZHMYTCMZWHE3TIMBXGY5US43TOVSTWNRQGAYTGMZWGU3DHILWAI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

alirezaporamin07-oss avatar Oct 23 '26 16:10 alirezaporamin07-oss