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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-16-2006, 06:48 PM
|
#1
|
|
LQ Newbie
Registered: Dec 2005
Location: Orlando, Florida
Posts: 9
Rep:
|
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
|
|
|
|
01-16-2006, 07:47 PM
|
#2
|
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 13.37
Posts: 4,082
Rep: 
|
Are you using the domain keyword in your resolv.conf file at the moment or is it just the list of nameservers?
|
|
|
|
01-16-2006, 08:17 PM
|
#3
|
|
LQ Newbie
Registered: Dec 2005
Location: Orlando, Florida
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
|
01-16-2006, 08:28 PM
|
#4
|
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 13.37
Posts: 4,082
Rep: 
|
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.
|
|
|
|
01-16-2006, 08:35 PM
|
#5
|
|
LQ Newbie
Registered: Dec 2005
Location: Orlando, Florida
Posts: 9
Original Poster
Rep:
|
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!
|
|
|
|
01-16-2006, 08:43 PM
|
#6
|
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 13.37
Posts: 4,082
Rep: 
|
Glad it helped 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:32 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|