Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all. I'll be brief; is there a way to use named to resolve the hostnames on my network? ie..."ping computername" properly resolves through the server? I tried adding the name as a normal zone, but that didn't work right. On the windows machines, I had to "ping computername." with the period at the end for it to resolve. Any ideas?
Are these Windows machines or Linux? Are you running DNS on a machine in your sub-net? Are you using DHCP to assign addresses? You'll need to tell us a little more about your system.
--We use a mixture of OSs, as powerful as linux is, we need windows machines, too.
--The key machines (servers, etc) are on a static IP, while most are DHCP.
--We use a Fedora server running named with caching enabled.
I can, of course, use the hosts file to manually set the hostname/IP mappings, but I'm looking for a dynamic method. I figured, with a caching nameserver running, there would be a way to make this happen. Thanks for the response!
Under TCP/IP settings in Windows, if you go to Advanced->DNS, it gives the option to append a suffix, so if your server is server.example.com, you'd set this to example.com
Okay, I understand. So, I need to setup each computer with a suffix and when I setup the nameserver to resolve the hostnames, set them up as a subdomain?
This would work, but is there a way to do it without the subdomain? Can I use any bogus domain?
You answered that for me - now, if I'm understanding you, in order to resolve using the linux nameserver, the hostnames need a suffix. That suffix should be whatever the suffix is on the FQDN of the nameserver.
I just wondered whether I could setup any suffix just to be used internally, but I'll use the suffix of the nameserver. No worries.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.