We've some domain (mydom.tld) and in the svn subdomain we have the Subversion server.
This server resides in the main office, and must be accessed inside this office as well as outside it.
So, now we have to edit the /etc/hosts file each time we enter the office, and re-edit when we go outside to make it work.
I've configured the DNS server (bind9 under Ubuntu) so we can use it as I described above, but the problem is that it manages the whole mydom.tld domain, when I only want it to manage the subdomain.
- mydom.tld -> no answer
- asdf.mydom.tld -> no answer
- svn.mydom.tld -> 192.168.1.X
Can someone give a solution based on the file /etc/bind/named.conf.local and similar ones?