LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 01-16-2006, 06:48 PM   #1
ehorton
LQ Newbie
 
Registered: Dec 2005
Location: Orlando, Florida
Posts: 9

Rep: Reputation: 0
DNS - resolving names without needing the FQDN


Hello,

I have Fedora Core 4 running and it has been working quite well. I have one last thing that I would like to clean up. The DNS name resolution.

I am a network engineer for a company here in Orlando and I have a PIX establishing a vpn tunnel to my office. This allows me to work from home Linux has made that a lot easier and faster.

I have my resolv.conf file configured for our corporate DNS server and for a public DNS server. It is working, but I have to specify the FQDN to access computers on the company network and I would really like to just specify the host name. The corporate name server I am pointing to is running Windows 2000 with the Microsoft DNS if that makes any difference. So, for a quick example. I would like to..... ping station1 versus station1.mycompany.com

I hope that I have given enough information and made things clear on what I would like to do.

Thanks
Eric
 
Old 01-16-2006, 07:47 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
Are you using the domain keyword in your resolv.conf file at the moment or is it just the list of nameservers?
 
Old 01-16-2006, 08:17 PM   #3
ehorton
LQ Newbie
 
Registered: Dec 2005
Location: Orlando, Florida
Posts: 9

Original Poster
Rep: Reputation: 0
It is just the list of name servers. I only have the two entries.
I am sorry, but very new to Linux and don't understand how they do things are what it is capable of.
 
Old 01-16-2006, 08:28 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
No problem...

There's more info if you type `man resolv.conf`, but briefly:

If you use the domain keyword followed by a domain name if you have a single domain that you want to use just the hostname for (usually the local domain). If you use the search keyword you can specify multiple domains separated by spaces or tabs to look up when resolving hostnames.
 
Old 01-16-2006, 08:35 PM   #5
ehorton
LQ Newbie
 
Registered: Dec 2005
Location: Orlando, Florida
Posts: 9

Original Poster
Rep: Reputation: 0
Got it!

Perfect. That did the trick. Thanks for the recommendation of
man resolv.conf

I didn't know you can do that. I thought it was only for commands.

Thanks again!
 
Old 01-16-2006, 08:43 PM   #6
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
Glad it helped
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My box is not resolving dns names. Waht can i do ? rubenscript Linux - Networking 18 05-01-2006 01:43 AM
NetBIOS names not resolving Xhalman Linux - Networking 0 02-16-2004 02:38 PM
Resolving Local Non-FQDN Host Names fortezza Linux - Networking 2 02-14-2004 04:17 AM
/etc/hosts resolving before DNS resolving ? markraem Linux - Networking 4 11-02-2003 04:54 AM
nslookup returns local ip when resolving another servers fqdn on same subnet nodrogx Linux - Networking 3 10-28-2003 02:12 PM


All times are GMT -5. The time now is 12:06 AM.

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