Solved

Linux DNS questions

Posted on 2004-03-27
4
235 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

919 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now