Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-10-2008, 08:54 PM   #1
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
/etc/resolv.conf resolving sub-domains

I have domain names like "", "" etc. - in my /etc/resolv.conf I put -


but it is not resolving when I try to ssh. I need to type the FQDN. Is there a way to resolve this issue?

Thanks for any help.
Old 02-10-2008, 10:14 PM   #2
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
To begin with, you don't need all of those statements. The only one that would make sense in your case would be 'search'. What that does is tag the onto any short name. So adding something like 'search' and then typing 'ssh mkt' would actually look for

Beyond that, it should just work. I tested by putting 'search' into /etc/resolv.conf, and 'ssh shortname' worked for me. Try it with just one search command, and see if that works.

Old 02-10-2008, 10:29 PM   #3
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem resolving .local domains cricketjeff Linux - Software 5 04-19-2007 06:13 AM
LXer: Resolving Domains Internally And Externally With Bind9 And Caching Nameserver LXer Syndicated Linux News 0 02-11-2007 08:33 AM
DNS Hosts.conf or resolv.conf problem mac_casey SUSE / openSUSE 0 03-26-2006 09:21 AM
Bind not resolving .org domains ggandy Linux - Networking 0 11-23-2004 05:16 PM
no domains resolving ? zeedoo Linux - Networking 3 07-12-2004 11:24 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration