LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-24-2013, 01:47 PM   #1
vsavsa
LQ Newbie
 
Registered: Mar 2013
Posts: 2

Rep: Reputation: Disabled
glibc - DNS: IPv4 and IPV6 parallel queries


Since very long time there is a glibc-2.10-dns-no-gethostbyname4.diff.gz patch applied to glibc. IMHO this patch could be dropped and instead of that could be added "option single-request" to /etc/resolv.conf (provided by n/network-scripts package) by default.

This option is available since glibc-2.10 and does exactly the same thing as the patch glibc-2.10-dns-no-gethostbyname4.diff.gz according to the man page resolv.conf(5).

Is there a possibility to drop the patch? I would like to get the parallel IPv4 and IPv6 queries (by disabling single-request option); right now is disabled without possibility to enable those parallel queries.

Thanks, Vita

Last edited by vsavsa; 03-24-2013 at 01:49 PM.
 
Old 03-24-2013, 05:26 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 877

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
The problem with doing that is that resolv.conf ends up rewritten automatically by dhcpcd, and then we'll run into the problems with broken routers all over again. If the glibc default were to *not* make the parallel queries unless "option parallel-request" were present it would make it a whole lot easier to drop the patch.
 
Old 03-25-2013, 02:40 AM   #3
vsavsa
LQ Newbie
 
Registered: Mar 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by volkerdi View Post
The problem with doing that is that resolv.conf ends up rewritten automatically by dhcpcd, and then we'll run into the problems with broken routers all over again. If the glibc default were to *not* make the parallel queries unless "option parallel-request" were present it would make it a whole lot easier to drop the patch.
Dhcpcd problem can be avoided by providing /etc/resolv.conf.head file with the option in it (see the script dhcpcd-hooks/20-resolv.conf in dhcpcd package).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BIND9 as forwarder, IPv6 queries from IPv6 forwarders Nonoo Linux - Server 1 11-23-2009 02:57 PM
IPv6 DNS queries being sent on SLES servers even though disabled by configuration vm_devadas Suse/Novell 0 01-26-2009 04:19 PM
ipv6 and ipv4 Ammad Linux - Networking 1 12-02-2006 04:44 PM
ipv6 queries to dns peacebwitchu AIX 0 11-10-2005 07:57 PM
DNS IPv6 Queries Fail kawauso-kun Debian 1 01-15-2005 06:31 PM


All times are GMT -5. The time now is 05:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration