From: Pasi Sjöholm <pasi.sjoh...@jollamobile.com> While debugging append_domain issue reported Vladimir Pavljuchenkov I noticed that dnsproxy did not do any appended_domain-queries with nameserver/resolvers configured by IPv6-infrastructure.
After these five small patches the things seems to be right and all the resolvers are queried with configured search domains (DNSSL, DHCPv4/6 and manually configured). DHCPv4/6: siirappi.com DNSSL: google.com Before: --cut-- IP 192.168.189.99.57437 > 192.168.189.1.53: 54758+ A? bz. (20) IP 192.168.189.99.57437 > 192.168.189.1.53: 24311+ A? bz.siirappi.com. (33) IP6 2001:470:28:241:2456:88bd:a205:211c.31364 > 2001:470:28:241::1.53: 25855+ A? bz. (20) IP 192.168.189.1.53 > 192.168.189.99.57437: 54758 0/1/0 (85) IP 192.168.189.1.53 > 192.168.189.99.57437: 24311 1/0/0 A 1.2.3.4 (49) IP6 2001:470:28:241::1.53 > 2001:470:28:241:2456:88bd:a205:211c.31364: 25855 0/0/0 (20) --cut-- After the patches: --cut-- IP 192.168.189.99.57437 > 192.168.189.1.53: 62803+ A? bz. (20) IP 192.168.189.99.57437 > 192.168.189.1.53: 56164+ A? bz.siirappi.com. (33) IP 192.168.189.99.57437 > 192.168.189.1.53: 56164+ A? bz.google.com. (31) IP6 2001:470:28:241:2456:88bd:a205:211c.33378 > 2001:470:28:241::1.53: 62803+ A? bz. (20) IP6 2001:470:28:241:2456:88bd:a205:211c.33378 > 2001:470:28:241::1.53: 56164+ A? bz.siirappi.com. (33) IP6 2001:470:28:241:2456:88bd:a205:211c.33378 > 2001:470:28:241::1.53: 56164+ A? bz.google.com. (31) IP 192.168.189.1.53 > 192.168.189.99.57437: 62803 0/0/0 (20) IP 192.168.189.1.53 > 192.168.189.99.57437: 56164 1/0/0 A 1.2.3.4 (49) IP 192.168.189.1.53 > 192.168.189.99.57437: 56164 NXDomain 0/1/0 (81) IP6 2001:470:28:241::1.53 > 2001:470:28:241:2456:88bd:a205:211c.33378: 62803 0/0/0 (20) IP6 2001:470:28:241::1.53 > 2001:470:28:241:2456:88bd:a205:211c.33378: 56164 1/0/0 A 1.2.3.4 (49) IP6 2001:470:28:241::1.53 > 2001:470:28:241:2456:88bd:a205:211c.33378: 56164 NXDomain 0/0/0 (31) --cut-- Pasi Sjöholm (5): dnsproxy: Rename append_domain() to append_or_remove_domain() dnsproxy: Remove domains from dns server domain list when needed service: Reconfigure search domains when nameservers have been modified resolver: Reorder call to __connman_service_nameserver_append() resolver: Readd search domains back when resolvers are redone src/dnsproxy.c | 25 ++++++++++++++++++++++--- src/resolver.c | 45 +++++++++++++++++++++++++++++++++------------ src/service.c | 12 ++++++------ 3 files changed, 61 insertions(+), 21 deletions(-) -- 2.1.4 _______________________________________________ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman