From: Jony H. <we...@j-...> - 2006-08-31 12:05:19
|
Hi, I've ran into a problem with Webmin/Virtualmin that I can't seem to solve! I'm using Virtualmin to create virtual servers, which all goes very smoothly. Virtualmin is, as per its default configuration, creating dns zones for the newly created servers. It puts these zones in ".hosts" files in the /etc/bind directory which are included by named.conf.local. So far, so good. My problem is that I'm unable to edit these zones with Webmin. They don't show up at all on the webmin Servers->Bind page. Is it possible that Webmin doesn't follow Bind "file" directives? Can anybody suggest a solution so that I can edit these zones from Webmin (I want to be able to add A records to the zones). I'm running the latest versions of webmin and virtualmin. Many thanks in advance, Jony |
From: Jamie C. <jca...@we...> - 2006-08-31 19:32:21
|
On 31/Aug/2006 04:58 Jony Hudson wrote .. > Hi, > > I've ran into a problem with Webmin/Virtualmin that I can't seem to solve! > I'm > using Virtualmin to create virtual servers, which all goes very smoothly. > Virtualmin is, as per its default configuration, creating dns zones for > the > newly created servers. It puts these zones in ".hosts" files in the /etc/bind > directory which are included by named.conf.local. > > So far, so good. My problem is that I'm unable to edit these zones with > Webmin. > They don't show up at all on the webmin Servers->Bind page. Is it possible > that > Webmin doesn't follow Bind "file" directives? Can anybody suggest a solution > so > that I can edit these zones from Webmin (I want to be able to add A records > to > the zones). > > I'm running the latest versions of webmin and virtualmin. > > Many thanks in advance, Hi Jony, Is the problem that the zones don't show up at all on the main page of the BIND module, or that they do show up but with no records in them? If it is the latter, try clicking on the 'Edit Records File' icon, and checking the path at the top of the page that appears to see if it is correct.. - Jamie |
From: Jony H. <we...@j-...> - 2006-08-31 21:29:28
|
Jamie Cameron <jcameron <at> webmin.com> writes: > > On 31/Aug/2006 04:58 Jony Hudson wrote .. > > Hi, > > > > I've ran into a problem with Webmin/Virtualmin that I can't seem to solve! > > I'm > > using Virtualmin to create virtual servers, which all goes very smoothly. > > Virtualmin is, as per its default configuration, creating dns zones for > > the > > newly created servers. It puts these zones in ".hosts" files in the /etc/bind > > directory which are included by named.conf.local. > > > > So far, so good. My problem is that I'm unable to edit these zones with > > Webmin. > > They don't show up at all on the webmin Servers->Bind page. Is it possible > > that > > Webmin doesn't follow Bind "file" directives? Can anybody suggest a solution > > so > > that I can edit these zones from Webmin (I want to be able to add A records > > to > > the zones). > > > > I'm running the latest versions of webmin and virtualmin. > > > > Many thanks in advance, > > Hi Jony, > Is the problem that the zones don't show up at all on the main page of > the BIND module, or that they do show up but with no records in them? If > it is the latter, try clicking on the 'Edit Records File' icon, and checking > the path at the top of the page that appears to see if it is correct.. Hi Jamie, thanks for the reply. They just don't show up at all in the BIND module. I've taken a look at the .hosts files and the named.conf.local file and I don't see anything obviously wrong with them (read something in the archives about malformed configs). BIND is giving the right answers when queried. Perhaps it's time to finally learn something about perl and be less helpless! Jony |
From: Jamie C. <jca...@we...> - 2006-08-31 22:06:21
|
On 31/Aug/2006 14:28 Jony Hudson wrote .. > Jamie Cameron <jcameron <at> webmin.com> writes: > > > > > On 31/Aug/2006 04:58 Jony Hudson wrote .. > > > Hi, > > > > > > I've ran into a problem with Webmin/Virtualmin that I can't seem to > solve! > > > I'm > > > using Virtualmin to create virtual servers, which all goes very smoothly. > > > Virtualmin is, as per its default configuration, creating dns zones > for > > > the > > > newly created servers. It puts these zones in ".hosts" files in the > /etc/bind > > > directory which are included by named.conf.local. > > > > > > So far, so good. My problem is that I'm unable to edit these zones > with > > > Webmin. > > > They don't show up at all on the webmin Servers->Bind page. Is it possible > > > that > > > Webmin doesn't follow Bind "file" directives? Can anybody suggest a > solution > > > so > > > that I can edit these zones from Webmin (I want to be able to add A > records > > > to > > > the zones). > > > > > > I'm running the latest versions of webmin and virtualmin. > > > > > > Many thanks in advance, > > > > Hi Jony, > > Is the problem that the zones don't show up at all on the main page of > > the BIND module, or that they do show up but with no records in them? > If > > it is the latter, try clicking on the 'Edit Records File' icon, and checking > > the path at the top of the page that appears to see if it is correct.. > > Hi Jamie, thanks for the reply. > > They just don't show up at all in the BIND module. I've taken a look at > the .hosts files and the named.conf.local file and I don't see anything obviously > wrong with them (read something in the archives about malformed configs). > BIND is giving the right answers when queried. Does the zone actually exist in the named.conf or named.conf.local ? If it is in named.conf.local , is there a directive in named.conf like : include "/etc/named.conf.local"; Using the full path to named.conf.local ? > Perhaps it's time to finally learn something about perl and be less helpless! A good idea .. assuming you can understand my horrible Webmin code :) - Jamie |
From: Jony H. <we...@j-...> - 2006-09-01 10:22:07
|
Jamie Cameron <jcameron <at> webmin.com> writes: > Does the zone actually exist in the named.conf or named.conf.local ? > If it is in named.conf.local , is there a directive in named.conf like : > > include "/etc/named.conf.local"; > > Using the full path to named.conf.local ? Yes, the zone is defined in /etc/named.conf.local. This file is included as you describe in named.conf using its full path. I've found a workaround. I added a (dummy) master zone using the Webmin BIND module, as opposed to using the Virtualmin "new virtual site" command. Now _all_ of the zones appear in the Webmin BIND module. What's more if I now add new zones by adding Virtualmin virtual sites, these new zones automatically appear in the Webmin BIND module. Not quite sure how to explain that yet! Will poke around a bit more and see if I can figure it out ... Jony |
From: Jamie C. <jca...@we...> - 2006-09-01 20:53:47
|
On 1/Sep/2006 03:21 Jony Hudson wrote .. > Jamie Cameron <jcameron <at> webmin.com> writes: > > > Does the zone actually exist in the named.conf or named.conf.local ? > > If it is in named.conf.local , is there a directive in named.conf like > : > > > > include "/etc/named.conf.local"; > > > > Using the full path to named.conf.local ? > > Yes, the zone is defined in /etc/named.conf.local. This file is included > as you > describe in named.conf using its full path. > > I've found a workaround. I added a (dummy) master zone using the Webmin > BIND > module, as opposed to using the Virtualmin "new virtual site" command. > Now _all_ > of the zones appear in the Webmin BIND module. What's more if I now add > new > zones by adding Virtualmin virtual sites, these new zones automatically > appear > in the Webmin BIND module. > > Not quite sure how to explain that yet! Will poke around a bit more and > see if I > can figure it out ... I did see this once before actually - it turned out that the cause was a syntax error in named.conf that was causing Webmin to stop parsing at that point. Check for any missing } or ; characters.. - Jamie |