Re: [Dnsmasq-discuss] Obtain IP from DHCP sever but set DNS servers statically with dnsmasq.

2019-11-27 Thread Geert Stappers
On Wed, Nov 27, 2019 at 12:06:12PM +0100, john doe wrote: > On 11/27/2019 11:26 AM, Hongyi Zhao wrote: > > Hi, > > > > I use ubuntu 19.10, and the default network settings is using dhcp. > > The info is as follows: > > > > $ nmcli > > enp2s0: connected to Wired connection 1 > > "Realtek RTL

Re: [Dnsmasq-discuss] Domain name wildcard match in the --server option

2019-11-27 Thread Geert Stappers
On Wed, Nov 27, 2019 at 10:06:33PM +0800, MingJian Hong wrote: > It is my first time to submit a patch by 'git send-email'. > If it doesn't work, please let me know. Thanks. Patch did apply. ( not mangled in e-mail ) Better feedback from my later. Regards Geert Stappers -- |stappers@alpaca:

Re: [Dnsmasq-discuss] Domain name wildcard match in the --server option

2019-11-27 Thread MingJian Hong
It is my first time to submit a patch by 'git send-email'. If it doesn't work, please let me know. Thanks. Regards, hmj --- src/forward.c | 25 + 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/src/forward.c b/src/forward.c index e4745a3..d291695 100644 -

Re: [Dnsmasq-discuss] Obtain IP from DHCP sever but set DNS servers statically with dnsmasq.

2019-11-27 Thread john doe
On 11/27/2019 11:26 AM, Hongyi Zhao wrote: > Hi, > > I use ubuntu 19.10, and the default network settings is using dhcp. > The info is as follows: > > $ nmcli > enp2s0: connected to Wired connection 1 > "Realtek RTL8111/8168/8411" > ethernet (r8169), 30:9C:23:2E:1A:E5, hw, mtu 1500

[Dnsmasq-discuss] Obtain IP from DHCP sever but set DNS servers statically with dnsmasq.

2019-11-27 Thread Hongyi Zhao
Hi, I use ubuntu 19.10, and the default network settings is using dhcp. The info is as follows: $ nmcli enp2s0: connected to Wired connection 1 "Realtek RTL8111/8168/8411" ethernet (r8169), 30:9C:23:2E:1A:E5, hw, mtu 1500 ip4 default inet4 172.16.0.157/24 r