Change default port to 953

pull/1947/head
necro-nemsis 2 years ago
parent 55866f8b81
commit cdad3e7f09

@ -760,7 +760,10 @@ namespace llarp
// can bind to other 127.* IPs to avoid conflicting with something else that may be listening on
// 127.0.0.1:53.
#ifdef __linux__
constexpr Default DefaultDNSBind{"127.3.2.1:53"};
// Fedora's systemd-resolved seems unable to connect to 127.3.2.1 for unknown reasons,
// however since systemd-resolved is perfectly happy with a different port so listen on
// localhost:953 as a workaround.
constexpr Default DefaultDNSBind{"127.3.2.1:953"};
#else
constexpr Default DefaultDNSBind{"127.0.0.1:53"};
#endif

Loading…
Cancel
Save