Re: [Dnsmasq-discuss] With auth-zone enabled, DNS response only provides DHCPv6 IP and ignores IPv4 address/host-record entries

2022-07-23 Thread Simon Kelley
This is a bug, for sure. I can see exactly why this would happen with address=/Computer1.example.org/10.0.0.10 but not with host-record=Computer1.example.org,10.0.0.10,3600 Please could you recheck that you are seeing the problem with --host-record? If you are, I've gone down the wrong

Re: [Dnsmasq-discuss] dnsmasq AAAA refused when resolving local address if upstream server unavailable

2022-07-23 Thread Simon Kelley
For better or worse, dnsmasq operates by overlaying locally configured data on the global DNS: if the local configuration doesn't include a particular record type, dnsmasq continues to return the data in the global DNS for that record type. That's what's happening here: you've not defined an

Re: [Dnsmasq-discuss] [PATCH] Fix --server=/#/...... which was lostin 2.86

2022-07-23 Thread XIE Zhibang
If the proposed change is related to commit 26bbf5a314d833bea say so. (Yes, I'm asking for an even better commit message.) I didn't think the two are related, the only connection is that they are both victims. Why the reshuffle? What about SERV_DEFAULT 65536 and avoiding the reshuffle?

Re: [Dnsmasq-discuss] [PATCH] Fix --server=/#/...... which was lostin 2.86

2022-07-23 Thread XIE Zhibang
If the proposed change is related to commit 26bbf5a314d833bea say so. (Yes, I'm asking for an even better commit message.) I didn't think the two are related, the only connection is that they are both victims. Why the reshuffle? What about SERV_DEFAULT 65536 and avoiding the reshuffle?Then the

Re: [Dnsmasq-discuss] [PATCH] Fix --server=/#/...... which was lostin 2.86

2022-07-23 Thread XIE Zhibang
If the proposed change is related to commit 26bbf5a314d833bea say so. (Yes, I'm asking for an even better commit message.) I don't think the two are related, the only connection is that they are both victims. Why the reshuffle? What about SERV_DEFAULT 65536 and avoiding the reshuffle? Then

Re: [Dnsmasq-discuss] [PATCH] Fix --server=/#/...... which was lost in 2.86

2022-07-23 Thread Geert Stappers via Dnsmasq-discuss
On Sat, Jul 23, 2022 at 02:02:31PM +, 谢致邦 (XIE Zhibang) via Dnsmasq-discuss wrote: > A victim of the domain-search rewrite. > --server=/#/.. means to use the server for default. The new > implementation orders the default server first, but because of the > rewrote domain-search, it needs

[Dnsmasq-discuss] [PATCH] Fix --server=/#/...... which was lost in 2.86

2022-07-23 Thread XIE Zhibang
A victim of the domain-search rewrite. --server=/#/.. means to use the server for default. The new implementation orders the default server first, but because of the rewrote domain-search, it needs strict-order to ensure the default. Signed-off-by: 谢致邦 (XIE Zhibang) --- src/dnsmasq.h |

Re: [Dnsmasq-discuss] [PATCH] Fix --server=/#/...... which was lostin 2.86

2022-07-23 Thread XIE Zhibang
Just likehttps://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=26bbf5a314d833beaf0f147d24409969f05f3dba " Fix --address=/#/.. which was lost in 2.86 A victim of the domain-search rewrite. Apologies. " Maybe I should redescribe it like this: " Fix --server=/#/.. which was lost

Re: [Dnsmasq-discuss] [PATCH] Fix --server=/#/...... which was lost in 2.86

2022-07-23 Thread Geert Stappers via Dnsmasq-discuss
On Sat, Jul 23, 2022 at 10:54:04AM +, 谢致邦 (XIE Zhibang) via Dnsmasq-discuss wrote: > Signed-off-by: 谢致邦 (XIE Zhibang) > --- > src/dnsmasq.h | 34 ++ > src/domain-match.c | 15 +++ > src/network.c | 2 +- > 3 files changed, 30

[Dnsmasq-discuss] [PATCH] Fix --server=/#/...... which was lost in 2.86

2022-07-23 Thread XIE Zhibang
Signed-off-by: 谢致邦 (XIE Zhibang) --- src/dnsmasq.h | 34 ++ src/domain-match.c | 15 +++ src/network.c | 2 +- 3 files changed, 30 insertions(+), 21 deletions(-) diff --git a/src/dnsmasq.h b/src/dnsmasq.h index a8937ce..7512756 100644 ---