1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Coder TuX said the following on 2007-04-07 12:29: |
5 |
| ... |
6 |
| |
7 |
| DHCP - working fine, i've got the same settings as ever (it's a static |
8 |
| configuration through DHCP) |
9 |
| Pinging the gateway/dns server - works fine. |
10 |
| Pinging google.com <http://google.com>: it can't resolve google.com |
11 |
|
12 |
It sounds DNS isn't working properly. Just because the DNS server is |
13 |
pingable (using ICMP) doesn't mean DNS resolution is working! |
14 |
DNS requests run over UDP port 53 (zone transfers over TCP 53, but |
15 |
that's realy only useful for DNS admins). |
16 |
|
17 |
It could be a problem with your /etc/resolv.conf file. |
18 |
Does it have an entry for the name server? |
19 |
If not that's probably your problem. You may have to check your |
20 |
config files regarding net and dhcp, ie /etc/conf.d/net.eth0 etc. |
21 |
|
22 |
|
23 |
Does the dig command work, or host/nslookup? |
24 |
|
25 |
Try, for instance, |
26 |
|
27 |
~ dig www.cisco.com +short |
28 |
|
29 |
This gives the most basic info, ie just the servers IP address, |
30 |
if DNS is working correctly. |
31 |
|
32 |
For more elaborate info (good for troubleshooting) try: |
33 |
|
34 |
dig www.cisco.com +nocmd +nostats +noquestion |
35 |
|
36 |
This gives more info, skipping som less useful garbage). |
37 |
|
38 |
BTW, putting "+nocmd +nostats +noquestion" without the quotes in your |
39 |
~/.digrc file is pretty useful:) |
40 |
|
41 |
//T |
42 |
-----BEGIN PGP SIGNATURE----- |
43 |
Version: GnuPG v1.4.6 (MingW32) |
44 |
|
45 |
iD8DBQFGF3lcJDzv6DN+QUkRAucOAJ9GfYu6fzHxwHfVBCp/omm3U/rlBQCgxaJQ |
46 |
4TBo+cv3MJBoHOqELg88mm8= |
47 |
=sPBc |
48 |
-----END PGP SIGNATURE----- |
49 |
-- |
50 |
gentoo-user@g.o mailing list |