From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1286 invoked by alias); 26 Oct 2009 17:38:44 -0000 Received: (qmail 1215 invoked by uid 48); 26 Oct 2009 17:38:26 -0000 Date: Mon, 26 Oct 2009 17:38:00 -0000 From: "aurelien at aurel32 dot net" To: glibc-bugs@sources.redhat.com Message-ID: <20091026173825.10851.aurelien@aurel32.net> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/10851] New: no fallback to nameserver 0.0.0.0 if /etc/resolv.conf is missing X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00093.txt.bz2 Starting with glibc 2.10, there is no fallback to nameserver 0.0.0.0 anymore if /etc/resolv.conf is missing. This is due to this change: 2008-12-02 Ulrich Drepper * resolv/res_init.c (__res_vinit): Initialize nscount to zero. This value should be set back to 1 so that the following code is actually useful: #ifdef USELOOPBACK statp->nsaddr.sin_addr = inet_makeaddr(IN_LOOPBACKNET, 1); #else statp->nsaddr.sin_addr.s_addr = INADDR_ANY; #endif statp->nsaddr.sin_family = AF_INET; statp->nsaddr.sin_port = htons(NAMESERVER_PORT); -- Summary: no fallback to nameserver 0.0.0.0 if /etc/resolv.conf is missing Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: libc AssignedTo: drepper at redhat dot com ReportedBy: aurelien at aurel32 dot net CC: glibc-bugs at sources dot redhat dot com GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=10851 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.