Share your knowledge at the LQ Wiki.
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 11-06-2003, 07:58 AM   #1
LQ Newbie
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
Resolver problem: ping localhost.localdomain gives Unknown host

Hi all.
Please, I need your help:
I have an annoying problem with a linuxbox i'm building almost from scratch
I can ping the outside world by name or by IP, but i cannot ping localhost.localdomain, nor linuxbox (which is my hostname)
Indeed, I can ping my own IP or, and I can succesfully ping localhost (but not localhost.localdomain)
Par example:

linuxbox:#ping localhost ->PING localhost ( succesful
linuxbox:#ping localhost.localdomain -> Unknown host
linuxbox:#ping -> PING ( : success
linuxbox:#ping linuxbox -> Unknown host
linuxbox:#ping linuxbox.localdomain -> Unknown host
linuxbox:#ping (my own IP) -> success

linuxbox:#hostname -> linuxbox
My setup is:

nameserver (the nameserver for my network)

/etc/hosts localhost.localdomain localhost linuxbox.localdomain linuxbox

order hosts, bind

/etc/nsswitch.conf (the relevant part only)
hosts: files dns

And, lastly, the relevant libraries in my /lib are:
(and, of course,,,, libcryptc, libdb-4.1,,,, and nothing else.
I need to start proftpd, which bombs with a "FATAL: Unable to determine address of linuxbox" which I'm pretty sure is a related issue.
The rest of the system is built around Busybox 1.0.0pre




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
ping: unknown host tcma Linux - Networking 7 03-02-2012 11:47 PM
localhost.localdomain steve007 Linux - Newbie 3 07-27-2005 03:48 AM
localhost.localdomain problem abdul_zu Linux - Networking 6 03-15-2005 04:52 AM
ping: unknown host in local intranet linuxjustin Linux - Networking 3 04-04-2004 02:03 PM
Unknown Host <Linuxmachinename> / Unable to ping by host name nishi_k_79 Linux - Networking 4 11-01-2003 01:24 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:30 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