DNS Configuration (BIND)
So I have my DNS server up and running and currently my users can connect to any machine listed by hostname as long as they use the fqdn.
Is there a way to set it up so I can just have them connect by using "host1" instead of "host1.example.com"? I know I can edit all of the host files and do it, but I'm just getting into DNS and digging into it. Thx! |
Yes - In the clients modify /etc/resolv.conf to have both the server name to query AND the domains to search:
Code:
search example.com You could add other domains to the search line separated by space: Code:
search example.com mydom.com |
Augh! I just figured it out. I already had resolv.conf setup on the server with the search path. My clients are Windows machines - and so your comment made me wonder about how they resolve networks, and that made me think dhcp. I didn't have the option domain-name "example.com"; in my dhcpd.conf. Now the machines can ping by just the host, appending the DN. Thanks for the hint!!
~Druisgod |
All times are GMT -5. The time now is 01:12 PM. |