|
Bugzilla – Full Text Bug Listing |
| Summary: | getaddrinfo() breaks when resolv.conf points at buggy nameservers | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.3 | Reporter: | Martin Wilck <martin.wilck> |
| Component: | Basesystem | Assignee: | Petr Baudis <pbaudis> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | aharrison, aj, behlert, chris.beckett, chusty, coolo, dmueller, forgotten_JtaKqlU8J9, forgotten_oT5fNj878H, freek, lnussel, roger, t.zell, uli.2001, vojtech |
| Version: | RC 1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | openSUSE 11.3 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | 441947 | ||
| Bug Blocks: | |||
| Attachments: | supportconfig | ||
|
Description
Martin Wilck
2010-06-28 20:23:12 UTC
Created attachment 372259 [details]
supportconfig
tcpdump output for a curl run: 22:30:50.767774 IP 192.168.1.11.43963 > 192.168.1.1.domain: 37639+ A? www.google.de. (31) 22:30:50.767844 IP 192.168.1.11.43963 > 192.168.1.1.domain: 48617+ AAAA? www.google.de. (31) 22:30:50.789994 IP 192.168.1.1.domain > 192.168.1.11.43963: 37639 5/0/0 CNAME www.google.com., CNAME www.l.google.com., A 74.125.77.104, A 74.125.77.147, A 74.125.77.99 (127) 22:30:55.771636 IP 192.168.1.11.43963 > 192.168.1.1.domain: 37639+ A? www.google.de. (31) 22:30:55.794732 IP 192.168.1.1.domain > 192.168.1.11.43963: 37639 5/0/0 CNAME www.google.com., CNAME www.l.google.com., A 74.125.77.104, A 74.125.77.147, A 74.125.77.99 (127) 22:30:55.794816 IP 192.168.1.11.43963 > 192.168.1.1.domain: 48617+ AAAA? www.google.de. (31) 22:30:55.818130 IP 192.168.1.1.domain > 192.168.1.11.43963: 48617 2/1/0 CNAME www.google.com., CNAME www.l.google.com. (129) Thanks for the report, but why are you adding the other poor 18 people to Cc? Temporarily, we have resolved the bug by disabling the parallel resolving method, but for newer OpenSUSE releases we have switched back to the parallel resolving for the speed improvement. nscd should have alleviated that problem (having to find out only once that single-request mode has to be used), unfortunately unscd has trouble with sharing the resolver state between subprocesses and the fix turned out to be a bit complex - perhaps I should have prioritized it more. The simplest workaround is to add 'options single-request' to /etc/resolv.conf. Can you please verify that it fixes the problem for you? Coolo, do you think it is worth mentioning it again in the release notes? (In reply to comment #3) > Thanks for the report, but why are you adding the other poor 18 people to Cc? I just cloned the bug, assuming the cc list members were still interested. Apologies to those who aren't any more. > The simplest workaround is to add 'options single-request' to /etc/resolv.conf. > Can you please verify that it fixes the problem for you? > > Coolo, do you think it is worth mentioning it again in the release notes? Please find a way to document it in a place that is easy to find. I (not having used OpenSUSE with my router at home for some time) found it pretty hard to find information (for example, a search for DNS at wiki.opensuse.org doesn't reveal useful results). 'options single-request' definitely slipped my attention. Btw, how can that option be used together with NetworkManager? If yes, how? export RES_OPTIONS="single-request" in the profile solves all problems, independent of NetworkManager. Thanks for the hint. http://en.opensuse.org/Speed_up_slow_DNS_lookups please review. Thank you guys. -=terry=- . *** This bug has been marked as a duplicate of bug 594447 *** sorry for the typo :) *** This bug has been marked as a duplicate of bug 549447 *** |