When I create a new virtual server my dns doesn’t work until I delete it. The error pointed to tld.com.hosts. I compared it withe the rest of my prior working virtual servers and the difference was that it is adding my slave dns server address at the bottom line of the file:
Is this slave one Webmin manages for you (e.g. did you follow the slave auto-configuration guide in the Documentation)? Or is it one you manage yourself?
Anyway, I’m guessing it’s something in Server Templates.
OK, so Virtualmin doesn’t add it by default. You can certainly configure Virtualmin or Webmin incorrectly to make it do so. Flexibility means you can break things in all sorts of wonderful ways if you try hard enough.
There are a couple of places where you could have added that. Server Templates seems the most likely. But, it could also be in the Webmin BIND module somewhere…not sure where, exactly, though, as I don’t spend much time there.
If, in the unlikely circumstance, you haven’t actually added that line to Server Templates or in any of the free text fields in the Webmin BIND module, and Virtualmin is creating zones with extraneous information it’d be a bug. But, this is the first we’ve heard of it (and we’d definitely hear about something like this really fast; since it prevents BIND from starting).
I cleared that field and that took care of that. Thank you. There is one more problem, when the named.conf file is created it is adding in a bonus line of "notify yes;" on the next to the last line of the code block -
I cleared that field and that took care of that. Thank you. There is one more problem, when the named.conf file is created it is adding in a bonus line of "notify yes;" on the next to the last line of the code block -
I cleared that field and that took care of that. Thank you. There is one more problem, when the named.conf file is created it is adding in a bonus line of "notify yes;" on the next to the last line of the code block -
Not really sure how that got added in there, but I removed the notify yes;, added a new tld and it works great now. Perhaps when I went 4 wheeling this weekend I may have bumped my head, inadvertently jarring some resin loose.
Not really sure how that got added in there, but I removed the notify yes;, added a new tld and it works great now. Perhaps when I went 4 wheeling this weekend I may have bumped my head, inadvertently jarring some resin loose.