[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ubuntu-users
Subject:    Re: Network manager and split DNS for a VPN?
From:       Tom H <tomh0665 () gmail ! com>
Date:       2017-04-14 18:21:46
Message-ID: CAOdo=SyBdBqUk1b6_0q=Tqc8afdz0LHgbJsGJOR_cTm0DJQWMw () mail ! gmail ! com
[Download RAW message or body]

On Thu, Apr 13, 2017 at 4:37 AM, Xen <list@xenhideout.nl> wrote:
> Chris Green schreef op 13-04-2017 10:19:
>>
>> On my systems running the 'dnsmasq plugin' from NM I see:-
>>
>>     chris$ cat /run/resolvconf/resolv.conf
>>     # Dynamic resolv.conf(5) file for glibc resolver(3) generated by
>>     resolvconf(8)
>>     #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE
>> OVERWRITTEN
>>     nameserver 127.0.1.1
>>     search zbmc.eu
>>
>>     chris@raspberrypi:~$ cat /run/resolvconf/resolv.conf
>>     cat: /run/resolvconf/resolv.conf: No such file or directory
>>     chris@raspberrypi:~$
>
> dnsmasq just lacks a proper querying method for all I'm concerned. At least
> the versions I am familiar with are capable of e.g. writing a file with DHCP
> lease contents, but actually having a user frontend, no.
>
> Apparently that channel exists in the form of dbus. But it shouldn't be so
> hard to have a form of "dnsmasq -q" command that would just query the
> contents of its database.

If dnsmasq is spawned by NM, "nmcli" is the tool to query dnsmasq, LOL.

If you're using dnsmasq, as opposed to NM and dnsmasq-base, you can
check "/etc/dnsmasq.conf" (or the output of ps if you're using
command-line options directly).

-- 
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic