FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-06-2010, 04:30 AM
Foss User
 
Default Unable to make DNS queries

I just installed a new instance of Debian 5.0 (Lenny). I am unable to
download files from any websites. When I try wget
http://www.google.com/ I see this output in tshark.

debian:~# tshark -f "udp port 53"
Running as user "root" and group "root". This could be dangerous.
Capturing on eth0
0.000000 192.168.1.155 -> 192.168.1.20 DNS Standard query AAAA www.google.com
5.003586 192.168.1.155 -> 192.168.1.21 DNS Standard query AAAA www.google.com
10.007481 192.168.1.155 -> 192.168.1.20 DNS Standard query AAAA www.google.com
15.011642 192.168.1.155 -> 192.168.1.21 DNS Standard query AAAA www.google.com
20.015882 192.168.1.155 -> 192.168.1.20 DNS Standard query AAAA www.google.com
25.019964 192.168.1.155 -> 192.168.1.21 DNS Standard query AAAA www.google.com
30.024030 192.168.1.155 -> 192.168.1.20 DNS Standard query AAAA www.google.com
35.028248 192.168.1.155 -> 192.168.1.21 DNS Standard query AAAA www.google.com
40.030600 192.168.1.155 -> 192.168.1.20 DNS Standard query A www.google.com
45.034562 192.168.1.155 -> 192.168.1.21 DNS Standard query A www.google.com
50.038638 192.168.1.155 -> 192.168.1.20 DNS Standard query A www.google.com
55.042885 192.168.1.155 -> 192.168.1.21 DNS Standard query A www.google.com
60.047035 192.168.1.155 -> 192.168.1.20 DNS Standard query A www.google.com
65.051154 192.168.1.155 -> 192.168.1.21 DNS Standard query A www.google.com
70.055199 192.168.1.155 -> 192.168.1.20 DNS Standard query A www.google.com
75.059390 192.168.1.155 -> 192.168.1.21 DNS Standard query A www.google.com

Other useful output:

debian:~# cat /etc/resolv.conf
nameserver 192.168.1.20
nameserver 192.168.1.21


debian:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.155
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
# dns-* options are implemented by the resolvconf package, if installed
# dns-nameservers 192.168.1.20 192.168.1.21
debian:~# cat /etc/hosts
127.0.0.1 localhost
192.168.1.155 debian

64.50.236.52 ftp.us.debian.org

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

How should I troubleshoot this?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-06-2010, 12:16 PM
Camaleón
 
Default Unable to make DNS queries

On Wed, 06 Jan 2010 11:00:37 +0530, Foss User wrote:

> I just installed a new instance of Debian 5.0 (Lenny). I am unable to
> download files from any websites. When I try wget http://www.google.com/
> I see this output in tshark.
>
> debian:~# tshark -f "udp port 53"
> Running as user "root" and group "root". This could be dangerous.
> Capturing on eth0
> 0.000000 192.168.1.155 -> 192.168.1.20 DNS Standard query AAAA
> www.google.com 5.003586 192.168.1.155 -> 192.168.1.21 DNS Standard
> query AAAA www.google.com
> 10.007481 192.168.1.155 -> 192.168.1.20 DNS Standard query AAAA
> www.google.com 15.011642 192.168.1.155 -> 192.168.1.21 DNS Standard
> query AAAA www.google.com 20.015882 192.168.1.155 -> 192.168.1.20 DNS
> Standard query AAAA www.google.com 25.019964 192.168.1.155 ->
> 192.168.1.21 DNS Standard query AAAA www.google.com 30.024030
> 192.168.1.155 -> 192.168.1.20 DNS Standard query AAAA www.google.com
> 35.028248 192.168.1.155 -> 192.168.1.21 DNS Standard query AAAA
> www.google.com 40.030600 192.168.1.155 -> 192.168.1.20 DNS Standard
> query A www.google.com 45.034562 192.168.1.155 -> 192.168.1.21 DNS
> Standard query A www.google.com 50.038638 192.168.1.155 -> 192.168.1.20
> DNS Standard query A www.google.com 55.042885 192.168.1.155 ->
> 192.168.1.21 DNS Standard query A www.google.com 60.047035
> 192.168.1.155 -> 192.168.1.20 DNS Standard query A www.google.com
> 65.051154 192.168.1.155 -> 192.168.1.21 DNS Standard query A
> www.google.com 70.055199 192.168.1.155 -> 192.168.1.20 DNS Standard
> query A www.google.com 75.059390 192.168.1.155 -> 192.168.1.21 DNS
> Standard query A www.google.com
>
> Other useful output:
>
> debian:~# cat /etc/resolv.conf
> nameserver 192.168.1.20
> nameserver 192.168.1.21

What kind of name servers are those? From DSL router? Computers running a
dns server? :-?

It seems you are not receiving any response for your query.

> How should I troubleshoot this?

Try using another dns resolver, i.e., openDNS one:

***
sm01@stt008:~$ dig @208.67.222.222 google.com
***

And put here the result of the query.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 02:38 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org