Solved

Linux DNS questions

Posted on 2004-03-27
4
237 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
  • 2
4 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 125 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Layer 7 Transparent cookie checker 22 61
Help instaling linux on vmware 36 85
installed old nagios.... 13 138
Linux TCP flaw lets 'anyone' hijack Internet traffic 9 84
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

773 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