Re: Buster without systemd?
- To: debian-user@lists.debian.org
- Subject: Re: Buster without systemd?
- From: kjonca@poczta.onet.pl (Kamil Jońca)
- Date: Tue, 24 Mar 2020 19:12:25 +0100
- Message-id: <[🔎] 87ftdx8vw6.fsf@alfa.kjonca>
- In-reply-to: <zNVQC-Mp-7@gated-at.bofh.it> (Greg Wooledge's message of "Tue, 24 Mar 2020 18:50:02 +0100")
- References: <zNVxg-Ft-11@gated-at.bofh.it> <zNVxg-Ft-13@gated-at.bofh.it> <zNVxg-Ft-15@gated-at.bofh.it> <zNVxg-Ft-17@gated-at.bofh.it> <zNVxg-Ft-19@gated-at.bofh.it> <zNVxg-Ft-21@gated-at.bofh.it> <zNVxg-Ft-23@gated-at.bofh.it> <zNVxg-Ft-25@gated-at.bofh.it> <zNVxg-Ft-27@gated-at.bofh.it> <zNVxg-Ft-9@gated-at.bofh.it> <zNVQC-Mp-7@gated-at.bofh.it>
Greg Wooledge <wooledg@eeg.ccf.org> writes:
> On Tue, Mar 24, 2020 at 06:03:47PM +0100, Kamil Jońca wrote:
>> How can I configure resolved to do something like:
>> eth - interface
>> tun1 - interface to vpn1 with domains a, b, c
>> tun2 - interface to vpn2 with domains d, e
>>
>> I want to resolve domains a,b,c with dns server in vpn1 and domains d,e
>> with server in vpn2.
>>
>> Can I do it with resolved?
>
> What you want to do would be best solved by a DNS resolver that you
> configure to forward requests to various places based on the requested
> domain. Any of the major DNS server software packages should be able to
> do it.
I know. :) I have had dnsmasq (+ some if-up/if-down scripts) configured
that way.
This was simple example why I do not like integration several things
into systemd.
BTW. Can plug scripts into systemd network events? (interface up/down,
ipsec tunnel up/down and so on).
KJ
--
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
Reply to: