I need a bit of help with BIND (Centos 7.5)
Bit of a back story:
We are running two domains on the network. One called company.domain.com and one called comp.domain.com
company.domain.com has devices with 192.168.100.x IP Addresses
comp.domain.com has devices with 10.1.100.x IP Addresses
My problem is that when I try to resolve a name from company.domain.com with just its short name it works fine, but when I try to do the same with comp.domain.com it fails and I need to enter the full address for it to be resolved.
Is there any way of telling the DNS server that if the requested address cannot be found in company.domain.com to look in comp.domain.com instead of timing out?
(Don’t ask me about why we have two domains, I would like to know too. It was done by the previous manager ;D)
Any help is highly appreciated! 🙂
Using short names is bad practice and should be avoided. It’s best practice to always use fully qualified domain names. A whole lot of other stuff will break, either now or in the future, if you continue using short names. If possible, convert all your existing clients to use FQDNs.
That said, this isn’t a problem with the DNS server, but with the clients. They need to be configured explicitly to search multiple domain names. For instance, on Linux, you would change the
search option in
search company.example.com corp.example.com
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.