Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
resolving takes too long
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
VeSCeRa
Tux's lil' helper
Tux's lil' helper


Joined: 11 Apr 2004
Posts: 111

PostPosted: Tue Jul 20, 2004 3:01 pm    Post subject: resolving takes too long Reply with quote

hi i have used gentoo before with stage3 install via 2004.0
after some months i have installed gentoo stage 1 install via 2004.1 and used genkernel with gentoo-dev-sources (2.6.7-r11) i have everything up but my internet connection keeps me waitin when resolving addresses and then when resolved it can go to its max speed

for example
i have this new system and i want to install fluxbox
when i emerge it it starts
Resolving...
and tries other addresses and sometime it goes on and sometimes it stucks and also when i try to open www.gentoo.org via lynx it tries to resolve the adress cannot open

at the same time when i boot to windows xp there is no problem

and these same problem is happening on the live cd 2004.1 and i am sure that i have used the same cd before and did not have any problems

the hardware is;
NetMaster docsis type cablemodem and i am using it by usb

ps:i remember being so happy with my usb cable modem in old times with 2004.0 with the same settings

pls help
Back to top
View user's profile Send private message
DaveArb
Guru
Guru


Joined: 29 Apr 2004
Posts: 510
Location: Texas, USA

PostPosted: Tue Jul 20, 2004 3:38 pm    Post subject: Reply with quote

What nameservers do you have listed in /etc/resolv.conf ? My strong guess is that you have a bad nameserver configuration.

Dave
Back to top
View user's profile Send private message
VeSCeRa
Tux's lil' helper
Tux's lil' helper


Joined: 11 Apr 2004
Posts: 111

PostPosted: Tue Jul 20, 2004 3:41 pm    Post subject: Reply with quote

ihave the same ones as in my windows xp 2 adresses
Quote:

nameserver 212.156.4.6
nameserver 212.156.4.7
search blabla.bla.myisp

when installing i cant remember if i did

cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf

but i am using and always used dhcpd

ps: i tried to ping the dns adresses but no replies?
Back to top
View user's profile Send private message
VeSCeRa
Tux's lil' helper
Tux's lil' helper


Joined: 11 Apr 2004
Posts: 111

PostPosted: Tue Jul 20, 2004 4:14 pm    Post subject: Reply with quote

and i just remembered that when the system booted asking the username
it says
localhost.(none) bla bla

may be i did something wrong configuring the domainname dnsdoainname or hostname ?
Back to top
View user's profile Send private message
srlinuxx
l33t
l33t


Joined: 22 Nov 2003
Posts: 627

PostPosted: Tue Jul 20, 2004 4:49 pm    Post subject: Reply with quote

VeSCeRa wrote:
and i just remembered that when the system booted asking the username
it says
localhost.(none) bla bla

may be i did something wrong configuring the domainname dnsdoainname or hostname ?


shouldn't keep ya from pinging. I've had systems where you don't set up host/domain name during install (slackware comes to mind) and it take me a little while to getting around to changing it. The network should still work.

did you set the gateway in your /etc/conf.d/net.ethX (assuming you are using /that/? Are you getting a lease? Can you ping the gateway?
_________________
--You talk the talk, but do you waddle the waddle?
-Gentoo Monthly Screenshots
Back to top
View user's profile Send private message
VeSCeRa
Tux's lil' helper
Tux's lil' helper


Joined: 11 Apr 2004
Posts: 111

PostPosted: Tue Jul 20, 2004 5:05 pm    Post subject: Reply with quote

yes i have set the /etc/conf.d/net as told in the gentoo installation handbook and as i did before on 2004.0 and kernel 2.6.5

i am really pissed off there is no problem and no difference in the way i installed it i think it can be becouse of the kernel but not sure of course

shit
shit
shit
Back to top
View user's profile Send private message
piquadrat
Guru
Guru


Joined: 18 Feb 2003
Posts: 301
Location: Switzerland

PostPosted: Tue Jul 20, 2004 5:10 pm    Post subject: Reply with quote

Do you have by any chance IPv6 support in your kernel? I once had similar problems, taking out IPv6 support helped. You won't need it for another one or two decades anyway :)
Back to top
View user's profile Send private message
VeSCeRa
Tux's lil' helper
Tux's lil' helper


Joined: 11 Apr 2004
Posts: 111

PostPosted: Wed Jul 21, 2004 7:40 am    Post subject: Reply with quote

yes i have it
how can i disable it
remove it from kernel?
with which options
Back to top
View user's profile Send private message
VeSCeRa
Tux's lil' helper
Tux's lil' helper


Joined: 11 Apr 2004
Posts: 111

PostPosted: Wed Jul 21, 2004 9:49 am    Post subject: Reply with quote

i have chacked that i dont have ipv6 support in kernel, can the problem be becouse of the driver?, in windows i have superb connection but in linux i have to wait for 8 secs for adresses to resolve
Back to top
View user's profile Send private message
srlinuxx
l33t
l33t


Joined: 22 Nov 2003
Posts: 627

PostPosted: Wed Jul 21, 2004 4:16 pm    Post subject: Reply with quote

Are those actual ips of your (isp's) nameservers? They seem down to me. Try 212.156.4.20.
_________________
--You talk the talk, but do you waddle the waddle?
-Gentoo Monthly Screenshots
Back to top
View user's profile Send private message
VeSCeRa
Tux's lil' helper
Tux's lil' helper


Joined: 11 Apr 2004
Posts: 111

PostPosted: Wed Jul 21, 2004 5:03 pm    Post subject: Reply with quote

yes they r down but they r the adresses returned from dhcpcd both in linux and windows
and in windows i have no problem, man this is so sick stupid
Back to top
View user's profile Send private message
srlinuxx
l33t
l33t


Joined: 22 Nov 2003
Posts: 627

PostPosted: Wed Jul 21, 2004 8:00 pm    Post subject: Reply with quote

How are those ns assigned? Maybe there's a setting on your router or whatever to change those nameservers. I know my router had that setting - ie. either assigned by ips or I could input the one's I wanted to use.

Maybe windows has a shorter timeout. (shrugs)
_________________
--You talk the talk, but do you waddle the waddle?
-Gentoo Monthly Screenshots
Back to top
View user's profile Send private message
VeSCeRa
Tux's lil' helper
Tux's lil' helper


Joined: 11 Apr 2004
Posts: 111

PostPosted: Thu Jul 22, 2004 6:53 pm    Post subject: Reply with quote

i did not understand what u mean,
man this shit is getting harder becouse i have installed gnome and now in every thing i do in gnome system pauses for 10 secs or more , pls someone help me pls pls pls
Back to top
View user's profile Send private message
VeSCeRa
Tux's lil' helper
Tux's lil' helper


Joined: 11 Apr 2004
Posts: 111

PostPosted: Fri Jul 23, 2004 8:53 am    Post subject: Reply with quote

i think i found something, i have found that ihave added ipv6 use variable to my make conf i have removed it now but that made no change ,can this be the problem(i have no ipv6 support in kernel i have used genkernel) but i have compiled all my apps with this, how can i correct this problem?
Back to top
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Fri Jul 23, 2004 10:04 am    Post subject: Reply with quote

Maybe the name servers werent / arent down, just filtering ICMP echo requests. Did you try to verfiy that they were up via ping? Its probably better to use dig gentoo.org @nameserver_ip to see wether or not they are up / responding to requests. Thats my two cents.

Heh, they seem down to me too.
Code:
gwatson@mvec ~$ ping 212.156.4.6
no answer from 212.156.4.6
gwatson@mvec ~$ dig gentoo.org @212.156.4.6

; <<>> DiG 9.2.3 <<>> gentoo.org @212.156.4.6
;; global options:  printcmd
;; connection timed out; no servers could be reached

_________________
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538
Back to top
View user's profile Send private message
VeSCeRa
Tux's lil' helper
Tux's lil' helper


Joined: 11 Apr 2004
Posts: 111

PostPosted: Fri Jul 23, 2004 11:21 am    Post subject: Reply with quote

may be the nameservers r not configured to reply to ping, or may be they r just avaliable to me

; <<>> DiG 9.2.3 <<>> gentoo.org @212.156.4.6
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35631
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;gentoo.org. IN A

;; ANSWER SECTION:
gentoo.org. 3600 IN A 204.74.99.100

;; AUTHORITY SECTION:
gentoo.org. 81923 IN NS udns1.ultradns.net.
gentoo.org. 81923 IN NS udns2.ultradns.net.

;; ADDITIONAL SECTION:
udns1.ultradns.net. 168314 IN A 204.69.234.1
udns2.ultradns.net. 168314 IN A 204.74.101.1

;; Query time: 1853 msec
;; SERVER: 212.156.4.6#53(212.156.4.6)
;; WHEN: Fri Jul 23 14:16:48 2004
;; MSG SIZE rcvd: 128
Back to top
View user's profile Send private message
VeSCeRa
Tux's lil' helper
Tux's lil' helper


Joined: 11 Apr 2004
Posts: 111

PostPosted: Fri Jul 23, 2004 11:26 am    Post subject: Reply with quote

can this be the issue;
may be the isp is doing some maintanence becouse, as there is no problem in windows, the network icon sometimes pop ups a message that i am connected to the cable net provider as i was already connected, and sometimes(especially at night) i dont have these problems in linux too( in windows there is absolutely no problem never ) , and for example 5 mins before when i did the dig command the linux and gnome works as it should be, but i am sure that the thing will occur again

may be my isp has some problem that linux is so perfect to realize it and windows is so dumb that does not know anything about it?
Back to top
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Fri Jul 23, 2004 12:51 pm    Post subject: Reply with quote

No. Though Linux is generally a better OS then windows the way that UDP works (DNS is UDP, not TCP) is not dependent on the client os. It would be like assuming that windows is too dumb to comprehend tcp ack packets. So I SERIOUSLY doubt that is the case. You may want to contact your ISP at any rate though. let them know that your seeing intermittent name resolution failures esp at night. It could be that they manage DNS crappy and they have "admins" who haphazardly restart named so that new Zones are recognized. For most providers this isnt an issue as the name servers you use to resolve arent the actual servers where dns is managed. Typically the resolvers that you use are configured to accept dnymaic updates from a hidden master server, named can be restarted on the hidden master without its slaves having name resolution hiccups. May be a good idea to see what they are doing down there!
_________________
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538
Back to top
View user's profile Send private message
VeSCeRa
Tux's lil' helper
Tux's lil' helper


Joined: 11 Apr 2004
Posts: 111

PostPosted: Fri Jul 23, 2004 3:39 pm    Post subject: Reply with quote

thnx but u made me feel like more newbie, can ube more specific?
Back to top
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Sat Jul 24, 2004 5:57 am    Post subject: Reply with quote

Well, if they are managing dns on the hosts that you use as resolvers (ur name server addresses) they could possibly be restarting nameD (the service that runs name resolution, likely BIND (Berkley Internet Name Demon, I think) so that new zone files (A zone file is a file that contains all of the resource records for a specific domain. I.e.

5-29-04.com's resource records are:

;; ANSWER SECTION:
5-29-04.com. 31149 IN NS ns2.viawest.net.
5-29-04.com. 31149 IN NS ns1.viawest.net.

;; AUTHORITY SECTION:
5-29-04.com. 31149 IN NS ns2.viawest.net.
5-29-04.com. 31149 IN NS ns1.viawest.net.

;; ADDITIONAL SECTION:
ns1.viawest.net. 140274 IN A 216.87.64.12
ns2.viawest.net. 140274 IN A 209.170.216.2

;; Query time: 9 msec
;; SERVER: 216.87.64.2#53(216.87.64.2)
;; WHEN: Fri Jul 23 23:55:48 2004
;; MSG SIZE rcvd: 136 )

so that when they add new domains the records contained within the new zone files are served right away. Most providers dont do this. Most providers (well at least the one where I work) have whats known as a hidden master server. It acts as a place to centrally manage zone files, then the slaves (ur resolver addresses) accept updates from the master as needed so that there are no hiccups in name resolution services.

[/code]


Did that help at all?
_________________
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538
Back to top
View user's profile Send private message
VeSCeRa
Tux's lil' helper
Tux's lil' helper


Joined: 11 Apr 2004
Posts: 111

PostPosted: Sun Jul 25, 2004 10:59 am    Post subject: Reply with quote

yes more , thanks
i am just in the thought of what should i do
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum