Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Domain name remapping with ISC Bind named
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
joanandk
Apprentice
Apprentice


Joined: 12 Feb 2017
Posts: 169

PostPosted: Tue Feb 16, 2021 8:37 pm    Post subject: Domain name remapping with ISC Bind named Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum