-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Coder TuX said the following on 2007-04-07 12:29:
| ...
|
| DHCP - working fine, i've got the same settings as ever (it's a static
| configuration through DHCP)
| Pinging the gateway/dns server - works fine.
| Pinging google.com <http://google.com>: it can't resolve google.com

It sounds DNS isn't working properly. Just because the DNS server is
pingable (using ICMP) doesn't mean DNS resolution is working!
DNS requests run over UDP port 53 (zone transfers over TCP 53, but
that's realy only useful for DNS admins).

It could be a problem with your /etc/resolv.conf file.
Does it have an entry for the name server?
If not that's probably your problem. You may have to check your
config files regarding net and dhcp, ie /etc/conf.d/net.eth0 etc.


Does the dig command work, or host/nslookup?

Try, for instance,

~ dig www.cisco.com +short

This gives the most basic info, ie just the servers IP address,
if DNS is working correctly.

For more elaborate info (good for troubleshooting) try:

dig www.cisco.com +nocmd +nostats +noquestion

This gives more info, skipping som less useful garbage).

BTW, putting "+nocmd +nostats +noquestion" without the quotes in your
~/.digrc file is pretty useful:)

//T
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)

iD8DBQFGF3lcJDzv6DN+QUkRAucOAJ9GfYu6fzHxwHfVBCp/omm3U/rlBQCgxaJQ
4TBo+cv3MJBoHOqELg88mm8=
=sPBc
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list

Reply via email to