LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-25-2005, 02:48 PM   #1
gsrichmo
LQ Newbie
 
Registered: Jun 2005
Posts: 21

Rep: Reputation: 15
cannot ping linux server by dns


I built a Fedora Core 4 box inside a corporate LAN. Resolve.conf has the ip's of the DNS servers. So, I can ping locally and on the Internet by dns and IP's. However, I cannot ping the linux box by name, only by IP. A hostname command gives computer name as ..eg..."sample.domain.net" and dnsdomainname lists "domain.net". Any ideas?
 
Old 08-25-2005, 05:25 PM   #2
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 32
Do you have a local dns? -- If you do, then you will need to point resolve.config towards it and make sure that it is set up correctly. Use dig to check the set up.

If not then you need to go to your /etc/hosts file and tell your O.S. to resolve the IP address correctly. The file ususally has instructions. If you are in windows-- find>> LMHOSTS -- again edit accordingly.




dan

Last edited by flashingcurser; 08-25-2005 at 05:26 PM.
 
  


Reply



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
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM
How to ping gateway and dns server banner Linux - Newbie 3 05-08-2005 05:49 AM
can't ping DNs server crtek Linux - Networking 3 01-14-2005 08:31 AM
Why I cannot ping to DNS server hvan Linux - Networking 5 11-21-2003 04:22 PM
DNS server choice: ping vs distance? gundelgauk Linux - Networking 3 09-09-2003 04:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:49 AM.

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