joanandk Apprentice
Joined: 12 Feb 2017 Posts: 169
|
Posted: Tue Feb 16, 2021 8:37 pm Post subject: Domain name remapping with ISC Bind named |
|
|
Hi,
Is it possible to remap an entire domain with named?
This is the situation: I have a server at home running named. I have added a zone forwarder to our company DNS server. This works fine.
Code: |
zone "brighttech-ltd.lan" IN {
type forward;
forward only;
forwarders {192.168.1.254};
}
|
The inconvenience is: the company internal domain is brighttech-ltd.lan. There is a subdomain labor.brighttech-ltd.lan. So accessing a device in the lab would be much shorter with its IP.
As long as I am using the DNS of the company on site, resolv.conf has the entry domain brighttech-ltd.lan, so I can access devices from <deviceName>.labor.
At home, my resolv.conf contains "search happy.home". I have tried with additional search brighttech-ltd.lan but does not work, if I ping <deviceName>.labor.
I had the idea to offload the mapping to named, but I did not find any possibility except create a cname entry for each host. I would be happy if it was possible to map the domain name of our company to something shorter "btt.ext".
Does anyone have any idea if and how I could accomplish this?
Thanks and BR |
|