[Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-13 Thread Hongyi Zhao
nd systemd-resolved. Regards, -- Hongyi Zhao ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-13 Thread Hongyi Zhao
On Mon, Sep 14, 2020 at 4:26 AM Geert Stappers wrote: > > On Sun, Sep 13, 2020 at 03:36:42PM +0800, Hongyi Zhao wrote: > > Hi, > > > > On Ubuntu 20.04, I let dnsmasq listen on 127.0.0.1:53, at the same > > time, I also noted that systemd-resolved has a default

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-13 Thread Hongyi Zhao
On Mon, Sep 14, 2020 at 9:02 AM Neal P. Murphy wrote: > > On Mon, 14 Sep 2020 06:52:49 +0800 > Hongyi Zhao wrote: > > > On Mon, Sep 14, 2020 at 4:26 AM Geert Stappers wrote: > > > > > > On Sun, Sep 13, 2020 at 03:36:42PM +0800, Hongyi Zhao wrote: > &

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-14 Thread Hongyi Zhao
On Mon, Sep 14, 2020 at 12:31 PM Dominick C. Pastore wrote: > > On Sun, Sep 13, 2020, at 10:44 PM, Hongyi Zhao wrote: > > On Mon, Sep 14, 2020 at 9:02 AM Neal P. Murphy > > wrote: > > > > > > On Mon, 14 Sep 2020 06:52:49 +0800 > > > Hongyi Zhao wrot

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-14 Thread Hongyi Zhao
it fails. As you can see, I've set upstream nameservers for my dnsmasq, so this shouldn't be the culprit for my case. > > If you want other programs on the same host to go through Dnsmasq, you should > use the first option I suggested. Do you mean the following thing you have told: If you want Dnsmasq to query the upstrea

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-14 Thread Hongyi Zhao
On Tue, Sep 15, 2020 at 11:09 AM Dominick C. Pastore wrote: > > On Mon, Sep 14, 2020, at 8:03 PM, Hongyi Zhao wrote: > > I run dnsmasq as following: > > > > $ /usr/local/sbin/dnsmasq --port=53 -c10240 --server=127.0.0.1#6053 > > --conf-dir=/home/werner/Public/anti

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-15 Thread Hongyi Zhao
On Tue, Sep 15, 2020 at 11:09 AM Dominick C. Pastore wrote: > > On Mon, Sep 14, 2020, at 8:03 PM, Hongyi Zhao wrote: > > I run dnsmasq as following: > > > > $ /usr/local/sbin/dnsmasq --port=53 -c10240 --server=127.0.0.1#6053 > > --conf-dir=/home/werner/Public/anti

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-15 Thread Hongyi Zhao
On Wed, Sep 16, 2020 at 11:18 AM Dominick C. Pastore wrote: > > On Tue, Sep 15, 2020, at 9:47 AM, Hongyi Zhao wrote: > > On Tue, Sep 15, 2020 at 11:09 AM Dominick C. Pastore > > wrote: > > > > > > On Mon, Sep 14, 2020, at 8:03 PM, Hongyi Zhao wrote

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-16 Thread Hongyi Zhao
On Wed, Sep 16, 2020 at 2:03 PM Geert Stappers wrote: > > On Wed, Sep 16, 2020 at 01:19:27PM +0800, Hongyi Zhao wrote: > > On Wed, Sep 16, 2020 at 11:18 AM Dominick C. Pastore wrote: > ... > > > > > > This does indeed seem strange. Unfortunately, I'm

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-16 Thread Hongyi Zhao
stinfo/dnsmasq-discuss > > > > ___ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss -- Hongyi Zhao ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-16 Thread Hongyi Zhao
On Wed, Sep 16, 2020 at 2:03 PM Geert Stappers wrote: > > On Wed, Sep 16, 2020 at 01:19:27PM +0800, Hongyi Zhao wrote: > > On Wed, Sep 16, 2020 at 11:18 AM Dominick C. Pastore wrote: > ... > > > > > > This does indeed seem strange. Unfortunately, I'm

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-16 Thread Hongyi Zhao
On Tue, Sep 15, 2020 at 9:47 PM Hongyi Zhao wrote: > > On Tue, Sep 15, 2020 at 11:09 AM Dominick C. Pastore > wrote: > > > > On Mon, Sep 14, 2020, at 8:03 PM, Hongyi Zhao wrote: > > > I run dnsmasq as following: > > > > > > $ /usr/local/sbin/d

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-16 Thread Hongyi Zhao
On Wed, Sep 16, 2020 at 9:31 PM Hongyi Zhao wrote: > > On Tue, Sep 15, 2020 at 9:47 PM Hongyi Zhao wrote: > > > > On Tue, Sep 15, 2020 at 11:09 AM Dominick C. Pastore > > wrote: > > > > > > On Mon, Sep 14, 2020, at 8:03 PM, Hongyi Zhao

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-16 Thread Hongyi Zhao
On Thu, Sep 17, 2020 at 6:28 AM Hongyi Zhao wrote: > > On Wed, Sep 16, 2020 at 9:31 PM Hongyi Zhao wrote: > > > > On Tue, Sep 15, 2020 at 9:47 PM Hongyi Zhao wrote: > > > > > > On Tue, Sep 15, 2020 at 11:09 AM Dominick C. Pastore > > > wrote: >

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-16 Thread Hongyi Zhao
On Thu, Sep 17, 2020 at 7:02 AM Hongyi Zhao wrote: > > Further testing again: > > Even I don't use the dnsasmq resolver in systemd, the problem still > will appear. See following for more info: > > $ resolvectl status | grep 'DNS Server' > Current DNS

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-17 Thread Hongyi Zhao
On Thu, Sep 17, 2020 at 2:04 PM Geert Stappers wrote: > > On Thu, Sep 17, 2020 at 07:25:43AM +0800, Hongyi Zhao wrote: > > > > But I still can't figure out what's the wrong configuration or > > **bug** (may or may not exist, I'm not sure.) in dnsmasq it

Re: [Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved.

2020-09-18 Thread Hongyi Zhao
On Fri, Sep 18, 2020 at 2:59 PM Geert Stappers wrote: > > On Fri, Sep 18, 2020 at 08:08:07AM +0800, Hongyi Zhao wrote: > > On Thu, Sep 17, 2020 at 07:25:43AM +0800, Hongyi Zhao wrote: > > > > > > But I still can't figure out what's the wrong configuratio

[Dnsmasq-discuss] Let docker container use the dnsmasq running on host.

2020-10-30 Thread Hongyi Zhao
Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials, Xingtai Polytechnic College NO. 552 North Gangtie Road, Xingtai, China ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dn

[Dnsmasq-discuss] The strange dns query error observed for fiber optic modem bridge mode.

2021-01-12 Thread Hongyi Zhao
4) ;; WHEN: Wed Jan 13 11:10:37 CST 2021 ;; MSG SIZE rcvd: 101 I'm very confused on the above problem. Any hints/comments/suggestions will be highly appreciated. Regards -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Polytechnic University of Science and Tec

[Dnsmasq-discuss] Flush the DNS Cache of dnsmasq without restarting it.

2021-03-04 Thread Hongyi Zhao
Hi, On Ubuntu 20.04, I am running a self-compiled git master version of dnsmasq that is not managed by systemd. I want to flush the DNS Cache of dnsmasq without restarting it. Are there any tips for achieving this goal? Regards, HY -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials

[Dnsmasq-discuss] The filterwin2k option will make the dig command fail to query SOA.

2021-12-31 Thread Hongyi Zhao
, nothing will be returned by the above commands. Any hints for this behavior will be highly appreciated. Regards -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering No. 473, Quannan West Street, Xindu District, Xingtai, Hebei

Re: [Dnsmasq-discuss] The filterwin2k option will make the dig command fail to query SOA.

2021-12-31 Thread Hongyi Zhao
On Sat, Jan 1, 2022 at 1:30 PM Hongyi Zhao wrote: > > If I enable the filterwin2k option, the dig command will fail to query > SOA, say, for the following ones: > > $ dig +short SOA bp.hyddns.xyz > www.hyddns.xyz. > $ dig +short SOA hyddns.xyz > donald.dnspod.net.

[Dnsmasq-discuss] How to let dnsmasq using multiple upstream dns servers with non-standard ports.

2015-09-23 Thread Hongyi Zhao
step, I get the following errors: dnsmasq: no servers found in /path/to/resolv-file.dnsmasq, will retry So, how to let dnsmasq using multiple upstream dns servers with non-standard ports? Regards -- Hongyi Zhao Xinjiang Technical Institute of Physics and Chemistry Chinese Academy of Sciences

Re: [Dnsmasq-discuss] How to let dnsmasq using multiple upstream dns servers with non-standard ports.

2015-09-26 Thread Hongyi Zhao
I want to use the most firstly query returned to me and then throttle the remail query for the spefific domain name. Is this possiable? > > > > That should do the trick. > > > Cheers, > > Simon. > >> > > On 24/09/15 02:56, Hongyi Zhao wrote: >

Re: [Dnsmasq-discuss] How to let dnsmasq using multiple upstream dns servers with non-standard ports.

2015-09-29 Thread Hongyi Zhao
2015-09-30 5:04 GMT+08:00 Simon Kelley : > On 27/09/15 04:44, Hongyi Zhao wrote: >> 2015-09-27 4:53 GMT+08:00 Simon Kelley : >>> You can't put non-standard ports in a resolv-file, the format of those >>> files does not include ports. >>> >>> It

[Dnsmasq-discuss] Two issues on using the server option.

2015-10-01 Thread Hongyi Zhao
l to the 53, I write here just for representation the more general form of this option) --server=/google.com/8.8.8.8#53,8.8.4.4#53 But, I try the above form and dnsmasq failed to recgonize this form thus failed to start. How about my suggstions on using this form with dnsmasq? Regards -- H

[Dnsmasq-discuss] Can dnsmasq using tcp to query the upstream dns servers?

2015-10-05 Thread Hongyi Zhao
Hi Simon, I want to do the following thing with dnsmasq: 1- Query some upstream dns servers with udp for some domains. 2- Query some upstream dns servers with tcp for some domains. Can this be done? Regards -- Hongyi Zhao Xinjiang Technical Institute of Physics and Chemistry Chinese Academy

[Dnsmasq-discuss] Domain name resolve redirection with dnsmasq.

2015-10-07 Thread Hongyi Zhao
nly assign the static address for the specific domains, I don't want to use the following method for my case: address=/fonts.googleapis.com/the-ip-of-fonts.lug.ustc.edu.cn Is it possiable for me to the trick with dnsmasq? Reards -- Hongyi Zhao Xinjiang Technical Institute of Physics and Chemi

[Dnsmasq-discuss] Let dnsmasq only reply the queries from the tun* interfaces.

2016-02-26 Thread Hongyi Zhao
lable and reject the queries from the eth* devices. Why still the dnsmasq will do the dns queries? Furthermore, is it possible to let dnsmasq do the dns queries just as I described here? Regards -- Hongyi Zhao Xinjiang Technical Institute of Physics and Chemistry Chinese Academy of Sciences

[Dnsmasq-discuss] The compile error of the latest git version.

2016-02-29 Thread Hongyi Zhao
isoning/dnsmasq/dnsmasq.git/src' Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 -- Any hints? Regards -- Hongyi Zhao Xinjiang Technical Institute of Physics and Chemistry Chinese Academy of Sciences GnuPG DSA: 0xD108493 _

Re: [Dnsmasq-discuss] The compile error of the latest git version.

2016-02-29 Thread Hongyi Zhao
2016-03-01 11:42 GMT+08:00 Kurt H Maier : > On Tue, Mar 01, 2016 at 09:07:50AM +0800, Hongyi Zhao wrote: >> Hi all, >> >> I try to compile the latest git version, but meet the following error: >> >> -- >> edns0.c: In function ‘add_pseudohe

Re: [Dnsmasq-discuss] Let dnsmasq only reply the queries from the tun* interfaces.

2016-03-01 Thread Hongyi Zhao
're trying to control here. > > > Cheers, > > Simon. > > > > > On 26/02/16 13:13, Hongyi Zhao wrote: >> Hi all, >> >> I have eth0 and openvpn's tun* interfaces on my Debian Jessie box. >> I want to let dnsmasq only reply the queries fr

[Dnsmasq-discuss] About the behavior of dnsmasq's ipset when the ip address has been added into the ipset.

2017-01-11 Thread Hongyi Zhao
Hi all, Say, I have the following settings for dnsmasq: server=/.your-freedom.net/127.0.0.1#6053 ipset=/.your-freedom.net/gfwlist-hash-ip If the ip addresses of *.your-freedom.net have been added to the gfwlist-hash-ip, then what's the behavior of dnsmasq's ipset for my above settings? I mean,

[Dnsmasq-discuss] Using multiple upstream servers but sometimes the reply from the server which answers first is null.

2017-01-23 Thread Hongyi Zhao
Hi all, I use ``--all-servers'' combined with ``--servers-file='' to let dnsmasq query multiple upstream servers for me. But I find the following issue sometimes will happen: When I do the dns query, say, for the domain-name, softwareupdate.vmware.com, sometimes I will get correct result, somet

[Dnsmasq-discuss] -DNO_IPV6 cann't disable ipv6.

2019-08-17 Thread Hongyi Zhao
Hi, I want to disable ipv6 with the compiling option: -DNO_IPV6 But, I try this option, it seems it doesn't work. Any hints? -- Hongsheng Zhao Institute of Semiconductors, Chinese Academy of Sciences GnuPG DSA: 0xD108493 ___ Dnsmasq-discuss mailing

Re: [Dnsmasq-discuss] -DNO_IPV6 cann't disable ipv6.

2019-08-17 Thread Hongyi Zhao
Geert Stappers 于2019年8月17日周六 下午6:38写道: > > On Sat, Aug 17, 2019 at 05:07:14PM +0800, Hongyi Zhao wrote: > > Hi, > > > > I want to disable ipv6 with the compiling option: -DNO_IPV6 > > > > But, I try this option, it seems it doesn't work. > > How do

[Dnsmasq-discuss] include multiple IP addresses for a single query, use --address

2019-10-01 Thread Hongyi Zhao
Hi, In the manpage, it said: --- -A, --address=/[/...]/[] ... To include multiple IP addresses for a single query, use --addn-hosts= instead. It told me that the following using is illegal: --address=/a.b/1.2.3.4 --address=/a.b/1.2.3.5 Am i right? If so, why?

[Dnsmasq-discuss] --addn-hosts and --hostsdir

2019-10-01 Thread Hongyi Zhao
Hi, The manpage said that: --- -H, --addn-hosts= Additional hosts file. Read the specified file as well as /etc/hosts. If --no-hosts is given, read only the specified file. This option may be repeated for more than one additional

Re: [Dnsmasq-discuss] --addn-hosts and --hostsdir

2019-10-07 Thread Hongyi Zhao
Simon Kelley 于2019年10月8日周二 上午1:51写道: > > On 02/10/2019 07:25, Geert Stappers wrote: > > On Wed, Oct 02, 2019 at 11:16:18AM +0800, Hongyi Zhao wrote: > >> Hi, > >> > >> The manpage said that: > >> > >> --- > >> -H, --addn-host

[Dnsmasq-discuss] Failed to compile dnsmasq latest git version with `-DHAVE_LUASCRIPT' on Manjaro.

2019-11-08 Thread Hongyi Zhao
Hi, See the following: $ uname -a Linux Manjaro 5.3.7-2-MANJARO #1 SMP PREEMPT Tue Oct 22 18:56:05 UTC 2019 x86_64 GNU/Linux $ yay -S lua52 $ make COPTS="-DHAVE_DBUS -DHAVE_IDN -DHAVE_LUASCRIPT -DHAVE_CONNTRACK -DHAVE_DNSSEC" -j24 Package lua5.2 was not found in the pkg-config search path. Perh

[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