I'm running a headless Amahi box on a seperate domain: domain1.tld . Everything is working fine, clients can find the applications installed on it, etc. etc.
For my work I need access to a second domeinname domain2.tld. This domain can be synced over a VPN connection to my DNS servers at work. I added with the help of Webmin the domainname in Bind as a slave domain and this is also syncing fine.
But now the problem: after a couple of hours or a day the domainname disappears from Bind and my clients depending on this domain do not work as they should do. So my question is why are other domainnames disappearing with the exception of the domainname I use for Amahi (domain1.tld in this case)? Do I have to add the domainname to a script of Amahi to prevent the domainname will be removed? Do I have to add the domainname in a different place instead of Bind?
DNS entry disappearing
Re: DNS entry disappearing
named.conf is rewritten every hour by hdactl. This is a problem.
You have to go into /usr/bin/hdactl and modify the script to build named.conf with what extras you want. This lasts until a new hdactl gets pushed down, then you need to make your changes again.
In bug 337, I proposed a number of changes to how the various BIND files and dhcpd.conf are created. I plan on getting back to this in a couple weeks.
What I would recommend is just edit hdactl to add an include of named.custom and put all your additions in this include. This is what I am going to be pushing to get done.
You have to go into /usr/bin/hdactl and modify the script to build named.conf with what extras you want. This lasts until a new hdactl gets pushed down, then you need to make your changes again.
In bug 337, I proposed a number of changes to how the various BIND files and dhcpd.conf are created. I plan on getting back to this in a couple weeks.
What I would recommend is just edit hdactl to add an include of named.custom and put all your additions in this include. This is what I am going to be pushing to get done.
Who is online
Users browsing this forum: No registered users and 50 guests