You are not logged in.

#1 2009-07-12 19:39:03

ash
Member
Registered: 2008-12-17
Posts: 134

[solved] glibc 2.10 and DNS solution ?

i use dhcp to connect to my router (thomson speedtouch 510)

this router is 'broken' for glibc 2.10 - the result is that the computer cannot resolve names

how can i make dns work again ? (other than replacing router)

EDIT
glibc solution : make /etc/resolv.conf.head with the line

option single-request

and a blank new line after it

this works with dhcpcd 5.X but not 3.X

Last edited by ash (2009-07-13 21:37:31)

Offline

#2 2009-07-12 20:10:40

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [solved] glibc 2.10 and DNS solution ?

Hello

There are some work arounds:

1) Run a local dns caching server (just install bind in your machine and start it)
2) Start the nscd
3) Add "single-request" to the options in /etc/resolv.conf

http://udrepper.livejournal.com/20948.html

Good Luck!

Offline

#3 2009-07-13 07:50:22

ash
Member
Registered: 2008-12-17
Posts: 134

Re: [solved] glibc 2.10 and DNS solution ?

i would prefer a solution without adding running overhead (local dns / nscd) to my system

i cannot just add the single request option cause dhcpcd rewrites the file each time its run (often several times in a single uptime period)

Offline

#4 2009-07-13 10:41:35

ash
Member
Registered: 2008-12-17
Posts: 134

Re: [solved] glibc 2.10 and DNS solution ?

Offline

#5 2009-07-13 17:46:29

harpo
Member
Registered: 2009-05-14
Posts: 21

Re: [solved] glibc 2.10 and DNS solution ?

I think this is the same issue as here:

http://bbs.archlinux.org/viewtopic.php?id=75770

Offline

#6 2009-07-13 21:24:53

ash
Member
Registered: 2008-12-17
Posts: 134

Re: [solved] glibc 2.10 and DNS solution ?

indeed it is. here its not slow but does not work at all though

the resolv.conf.head does not work with dhcpcd 3.2 which i use

it works with dhcpcd 5. but i have other problem with dhcpcd 5

Offline

#7 2009-07-13 23:24:08

harpo
Member
Registered: 2009-05-14
Posts: 21

Re: [solved] glibc 2.10 and DNS solution ?

ash wrote:

indeed it is. here its not slow but does not work at all though

the resolv.conf.head does not work with dhcpcd 3.2 which i use

it works with dhcpcd 5. but i have other problem with dhcpcd 5

How about telling dhcpcd to leave your resolv.conf alone?

dhcpcd -C resolv.conf

Offline

Board footer

Powered by FluxBB