?
Solved

Linux DNS questions

Posted on 2004-03-27
4
Medium Priority
?
242 Views
Last Modified: 2010-03-18
just freshly installed redhat 9.0 on a server at work.


trying to ping other machines on the network is acting kind of funny though

i can ping host.domain.xxx... but i cannot just ping the host

we have a interal dns and the host i am trying to ping is registered

there is no problems on any other server on the network....

only on the server we just redid..

what would cause me not to be able to ping just the host of any other pc on the network?

eg. if i ping 123
ping: unknown host 123


if i ping 123.domain.xxx
ping works fine


any ideaS?
0
Comment
Question by:spyd4r
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 375 total points
ID: 10697218
Your /etc/resolv.conf needs "search domain.xxx" for you to be able to resolve the IP of a machine using its short name.
0
 
LVL 14

Expert Comment

by:pablouruguay
ID: 10698027
FYI and to add data about jlevie answer this is an example


[pablo@omega pablo]$ cat /etc/resolv.conf
search yourdomain.xxx
nameserver 123.123.123.123
[pablo@omega pablo]$
0
 

Author Comment

by:spyd4r
ID: 10699265
i added
domain company.xxx to the resolv.conf and it worked great guys!!

thanks

is there a difference between search and domain?
0
 
LVL 40

Expert Comment

by:jlevie
ID: 10699571
Effectively, no.
0

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question