On Di, 25.07.17 13:29, Tilman Baumann (til...@baumann.name) wrote:
> Little follow-up question. What would you say is best practice for a vpn
> client?
>
> - Add commandline option --update-systemd-resolved or so
> - Autodetect existence of the interface and just do it? (How?)
Just issue the
Little follow-up question. What would you say is best practice for a vpn
client?
- Add commandline option --update-systemd-resolved or so
- Autodetect existence of the interface and just do it? (How?)
- Always try to do the update but silently ignore if it fails and fall
back to updating
On 21.07.2017 14:44, Tilman Baumann wrote:
> On 21.07.2017 14:35, Lennart Poettering wrote:
>> On Wed, 19.07.17 11:20, Tilman Baumann (til...@baumann.name) wrote:
>>
> >> My guess is that I can have it easier if I somehow use
>>> sd_bus_message_append() to assemble the message. But I don't see a
On 21.07.2017 14:35, Lennart Poettering wrote:
> On Wed, 19.07.17 11:20, Tilman Baumann (til...@baumann.name) wrote:
>
>> My guess is that I can have it easier if I somehow use
>> sd_bus_message_append() to assemble the message. But I don't see a clear
>> path either.
>
> You have to do
On Wed, 19.07.17 11:20, Tilman Baumann (til...@baumann.name) wrote:
> Hi folks,
>
> I'm trying to teach a vpn software (openfortivpn) how to properly set up
> DNS in a systemd-resolve environment.
>
> I'm trying to set up a equivalent to this in C.
> busctl call org.freedesktop.resolve1
Any hint?
I would be happy to just see some similar code that deals with arrays of
complex structures. If I see a example that is similar, I'm sure I can
learn from it.
So if anybody knows of a code example that does that...
Thanks
On 19.07.2017 11:20, Tilman Baumann wrote:
> Hi folks,
>
> I'm