Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-04-2005, 08:47 PM   #1
LQ Newbie
Registered: Aug 2005
Location: Frillesås
Distribution: KnoppMyth
Posts: 1

Rep: Reputation: 0
Unhappy Cannot ping outside hostnames

I'm trying to set networking up on my debian-system.

The thing is that I can ping all IP-numbers; both on the LAN and on the internet, but hostnames does not work, (as long as they aren't in /etc/hosts)

I have set up my /etc/resolv.conf as it should be:
# Insert nameservers here

ifconfig gives me the following output:
eth0 Link encap:Ethernet HWaddr 00:00:94:A9:33:77
inet addr: Bcast: Mask:
RX packets:421 errors:1 dropped:0 overruns:0 frame:0
TX packets:293 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38900 (37.9 KiB) TX bytes:38135 (37.2 KiB)
Interrupt:11 Base address:0xe800

lo Link encap:Local Loopback
inet addr: Mask:
inet6 addr: ::1/128 Scope:Host
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1108 (1.0 KiB) TX bytes:1108 (1.0 KiB)

I hope someone can help me here, I'm going nuts after 5 hours of searching on google.

Regards, Peter Larsson!
Old 08-05-2005, 01:37 AM   #2
Registered: Feb 2004
Location: Kathmandu
Distribution: Redhat/fedora/Suse [Wanna Drive With Debian]
Posts: 208

Rep: Reputation: 30
ok you have specified your name server as
so as you have said you can't ping with the hostname. so have you checked your nameserver.It should contain all your hostname you are trying to ping. for example IN A 192.168.0.x IN A 192.168.0.y
and like that.

it should then get resolved because you have pointed your name server to


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 03:39 PM
Can't ping hostnames Nox UK Linux - Networking 3 04-19-2005 04:07 PM
Client (windows) can't ping hostnames HKDude Linux - Networking 5 05-12-2004 07:14 PM
Can ping MyDNS1.FQDN and IPs but no other hostnames? leecason Linux - Networking 3 10-06-2003 04:01 PM
cannot ping hostnames joadoor Linux - Networking 21 06-10-2003 11:12 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration