1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
lokinet/llarp/router
Jason Rhinelander 4ef25ef679 Add systemd-resolved dynamic DNS updating
Wires up systemd support to configure DNS on startup and when
enabling/disabling exit mode.

On startup (and when turning off an exit) we tell systemd-resolved to
direct .loki and .snode lookups to lokinet (leaving other DNS traffic
alone).

On exit enabling, we reconfigure it to resolve "." (i.e. the root DNS
domain) so that all lookups come into it.
2021-04-28 16:48:10 -03:00
..
abstractrouter.hpp temp commit 2021-04-19 07:02:46 -04:00
i_gossiper.hpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
i_outbound_message_handler.hpp temp commit 2021-04-19 07:02:46 -04:00
i_outbound_session_maker.hpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
i_rc_lookup_handler.hpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
outbound_message_handler.cpp temp commit 2021-04-19 07:02:46 -04:00
outbound_message_handler.hpp temp commit 2021-04-19 07:02:46 -04:00
outbound_session_maker.cpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
outbound_session_maker.hpp Replace ::Hash nested structs with std::hash specializations 2021-03-10 11:19:52 -04:00
rc_gossiper.cpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
rc_gossiper.hpp standardize include format and pragma once 2021-03-09 19:01:41 -05:00
rc_lookup_handler.cpp fix issue #1562 2021-03-18 17:36:53 -04:00
rc_lookup_handler.hpp Replace ::Hash nested structs with std::hash specializations 2021-03-10 11:19:52 -04:00
route_poker.cpp Add systemd-resolved dynamic DNS updating 2021-04-28 16:48:10 -03:00
route_poker.hpp Add systemd-resolved dynamic DNS updating 2021-04-28 16:48:10 -03:00
router.cpp temp commit 2021-04-19 07:02:46 -04:00
router.hpp temp commit 2021-04-19 07:02:46 -04:00
systemd_resolved.cpp Add systemd-resolved dynamic DNS updating 2021-04-28 16:48:10 -03:00
systemd_resolved.hpp Add systemd-resolved dynamic DNS updating 2021-04-28 16:48:10 -03:00