I have a weird situation on a development system I am building.
I have set up the DNS client in resolv.conf, giving the search order (three options, separated by spaces) and the IP addresses for the three available DNS naming servers.
When I perform an nslookup for a specified IP address, the correct fully qualified hostname is returned. However, when I perform an nslookup on the hostname, fully qualified and short, the IP address is not found.
When I try and ping or ssh to a hostname, I get the message 'Could not resolve hostname, Name or service not known'
Does anyone have a suggestion as to why this seems to be a one way lookup only???
There is not enough information in your post to make any reasonable guess. I suggest you provide more details, such as, examples, content of your /etc/resolv.conf (which could be configured incorrectly), and last not least your OS distribution version. Can you reproduce the issue on another machine? Do you have your default domain suffix configured correctly. As a last resort you can also look at the log file of the DNS server to find out what was actually queried.