Avatar of spyd4r
spyd4r

asked on 

Linux DNS questions

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?
Linux Networking

Avatar of undefined
Last Comment
jlevie
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Pablo Allietti
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]$
Avatar of spyd4r
spyd4r

ASKER

i added
domain company.xxx to the resolv.conf and it worked great guys!!

thanks

is there a difference between search and domain?
Avatar of jlevie
jlevie

Effectively, no.
Linux Networking
Linux Networking

The variety of Linux distributions creates myriad issues relating to configuration and operations when computers are networked, not the least of which is the use of various network management applications, some of which are included with specific distributions, while others are standalone applications.

19K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo