From: Jamie C. <jca...@we...> - 2003-10-01 06:19:41
|
Luke Worthy <lu...@ad...> wrote .. > I have a question regarding changing some of the DNS module in webmin. > > when you create a new master zone, and leave the option "Records file" > as > automatic, it makes a file called "zonename.hosts" in the default directory > specified in the named.conf. I have been asked to change this to the naming > convention we use here in our office "pri.zonename". > > I have found it to be quite difficult as I am not much of a perl programmer, > but have hacked a few things together in the past. > > Now I found what I am guessing is the line in question in create_master.cgi, > so I changed it from: > > $in{'file'} = $base."/$in{'zone'}.hosts"; > > to: > > $in{'file'} = $base."/pri.$in{'zone'}"; > > and: > $in{'file'} = $base."/pri.'$in{'zone'}'"; > > and have NFI - it still uses the filename "zonename.hosts" - I would have > at > least expected an error...... There is actually way to do this without needing to make any code changes at all :-) On the main page of the BIND module, click on Module Config and change the 'Format for the name of forward zone files' to 'pri.ZONE'. > Also I have been asked to setup our DNS so that when someone enters in > the > master information on one server, it automatically creates the entries > on the > backup server, without having to do any more "clicking". Any ideas about > how > to do this? > > At the moment I have to go into the backup server and change the named.conf > file to add in the requested entry :) This is actually possible as well.. You need to install webmin on the slave server, and then add it in the Webmin Servers Index module on the master server, with the admin or root username and password specified. Then when creating a master zone, you'll have the option to add it as slave to the slave server as well. There is even a Module Config page option to set the default server for this option, and a button on the main page to apply changes on the slave server as well. - Jamie |
From: Jamie C. <jca...@we...> - 2003-10-02 12:18:22
|
Martin Mewes <mar...@de...> wrote .. > Moin, moin, ... > > Jamie Cameron <jca...@we...> wrote: > > >> a) is this a good list for virtualmin questions too? :) > > > >Yes, since there isn't a separate virtualmin list yet. > > Need one? ;-) mailman.mamemu.de has some bandwith available for this. I could set it up on sourceforge for free - but there probably isn't enough virtualmin-related traffic for it to justify a separate list yet. - Jamie |
From: Martin M. <mar...@de...> - 2003-10-02 12:27:42
|
Moin, moin, ... Jamie Cameron <jca...@we...> wrote: >> Need one? ;-) mailman.mamemu.de has some bandwith available for this. > >I could set it up on sourceforge for free - but there probably isn't >enough virtualmin-related traffic for it to justify a separate list yet. Sorry, Jamie - I was just kidding. I kown that you could do it for free at SF ;-) maybe I should just stop joking on a thursday ... cu kind regards Martin Mewes --=20 COIM Deutschland GmbH - Novacote Flexpack Division c/o IT/IS-Department - Hamburg - Germany |
From: Luke W. <lu...@ad...> - 2003-10-01 07:44:15
|
Wow Jamie thankyou....two other questions a) is this a good list for virtualmin questions too? :) b) With setting up virtualmin users etc, is it possible to auto-update the backup MX server (so when the pri MX goes down the users still get their mail on the backup) Thanks again :) Luke ----------- Luke Worthy <lu...@ad...> wrote .. > I have a question regarding changing some of the DNS module in webmin. > > when you create a new master zone, and leave the option "Records file" > as > automatic, it makes a file called "zonename.hosts" in the default directory > specified in the named.conf. I have been asked to change this to the naming > convention we use here in our office "pri.zonename". > > I have found it to be quite difficult as I am not much of a perl programmer, > but have hacked a few things together in the past. > > Now I found what I am guessing is the line in question in create_master.cgi, > so I changed it from: > > $in{'file'} = $base."/$in{'zone'}.hosts"; > > to: > > $in{'file'} = $base."/pri.$in{'zone'}"; > > and: > $in{'file'} = $base."/pri.'$in{'zone'}'"; > > and have NFI - it still uses the filename "zonename.hosts" - I would have > at > least expected an error...... There is actually way to do this without needing to make any code changes at all :-) On the main page of the BIND module, click on Module Config and change the 'Format for the name of forward zone files' to 'pri.ZONE'. > Also I have been asked to setup our DNS so that when someone enters in > the > master information on one server, it automatically creates the entries > on the > backup server, without having to do any more "clicking". Any ideas about > how > to do this? > > At the moment I have to go into the backup server and change the named.conf > file to add in the requested entry :) This is actually possible as well.. You need to install webmin on the slave server, and then add it in the Webmin Servers Index module on the master server, with the admin or root username and password specified. Then when creating a master zone, you'll have the option to add it as slave to the slave server as well. There is even a Module Config page option to set the default server for this option, and a button on the main page to apply changes on the slave server as well. - Jamie |
From: Jamie C. <jca...@we...> - 2003-10-02 00:06:06
|
Luke Worthy wrote: > Wow Jamie thankyou....two other questions > > a) is this a good list for virtualmin questions too? :) Yes, since there isn't a separate virtualmin list yet. > b) With setting up virtualmin users etc, is it possible to auto-update the > backup MX server (so when the pri MX goes down the users still get their mail > on the backup) This is not currently possible, but it is a pretty cool idea and may not too hard.. I'll add it to my TODO list for virtualmin. - Jamie > Thanks again :) > > Luke > > > ----------- > > Luke Worthy <lu...@ad...> wrote .. > >>I have a question regarding changing some of the DNS module in webmin. >> >>when you create a new master zone, and leave the option "Records file" >>as >>automatic, it makes a file called "zonename.hosts" in the default directory >>specified in the named.conf. I have been asked to change this to the naming >>convention we use here in our office "pri.zonename". >> >>I have found it to be quite difficult as I am not much of a perl programmer, >>but have hacked a few things together in the past. >> >>Now I found what I am guessing is the line in question in create_master.cgi, >>so I changed it from: >> >>$in{'file'} = $base."/$in{'zone'}.hosts"; >> >>to: >> >>$in{'file'} = $base."/pri.$in{'zone'}"; >> >>and: >>$in{'file'} = $base."/pri.'$in{'zone'}'"; >> >>and have NFI - it still uses the filename "zonename.hosts" - I would have >>at >>least expected an error...... > > > There is actually way to do this without needing to make any code changes > at all :-) On the main page of the BIND module, click on Module Config and > change the 'Format for the name of forward zone files' to 'pri.ZONE'. > > >>Also I have been asked to setup our DNS so that when someone enters in >>the >>master information on one server, it automatically creates the entries >>on the >>backup server, without having to do any more "clicking". Any ideas about >>how >>to do this? >> >>At the moment I have to go into the backup server and change the named.conf >>file to add in the requested entry :) > > > This is actually possible as well.. You need to install webmin on the slave > server, and then add it in the Webmin Servers Index module on the master > server, with the admin or root username and password specified. Then when > creating a master zone, you'll have the option to add it as slave to the slave > server as well. There is even a Module Config page option to set the default > server for this option, and a button on the main page to apply changes on > the slave server as well. > > - Jamie > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel > |
From: Martin M. <mar...@de...> - 2003-10-02 06:41:01
|
Moin, moin, ... Jamie Cameron <jca...@we...> wrote: >> a) is this a good list for virtualmin questions too? :) > >Yes, since there isn't a separate virtualmin list yet. Need one? ;-) mailman.mamemu.de has some bandwith available for this. kind regards Martin Mewes --=20 Novacote Flexpack - Division of COIM Deutschland GmbH c/o IT/IS-Department - Hamburg - Germany |
From: Luke W. <lu...@ad...> - 2003-10-02 08:00:25
|
you've helped me so much, and it's really going along well, but I have one little bugger of a problem that is doing my head in, and since it's 6 o'clock, I am going to ask :) I have created my DNS manually, and now we are using the webmin, however, everytime I create a master zone through webmin the zone transfers don't seem to work :( I get the error message in the log: named[172]: received notify for zone 'mynewzoone.com': not authoritative I have it so the webmin adds the entry to the named.conf (that works very well I must say), but when the actual zone transfer information is sent out, the slave server wont accept it. I have even gone to the trouble of re-writing it in the exact format of my other entries (that do seem to work). And at least one of the domains has actually been delegated to our servers officially. And it seems fine from doing a "dnsreport" test, except that a DNS server is "lame" (which I think it is lame because it isn't accepting the bloody transfer!! :) Do you think I set up some security option that is blocking the incoming transfer? if so - why do the others work? If you need more excerpts of files - np :) Guess I'm really needing to know if anyone has had this problem before? Luke |
From: Jamie C. <jca...@we...> - 2003-10-02 23:12:35
|
Are the new secondary zones being added properly to the secondary hosting server? It almost sounds like they are, but that the changes aren't being applied, either by hitting the Apply Changes button in the BIND module on the secondary server, or using the Apply Changes On: button in the BIND module on the master. - Jamie On Thu, 2003-10-02 at 18:05, Luke Worthy wrote: > you've helped me so much, and it's really going along well, but I have one > little bugger of a problem that is doing my head in, and since it's 6 > o'clock, I am going to ask :) > > I have created my DNS manually, and now we are using the webmin, however, > everytime I create a master zone through webmin the zone transfers don't seem > to work :( > > I get the error message in the log: > > named[172]: received notify for zone 'mynewzoone.com': not authoritative > > > I have it so the webmin adds the entry to the named.conf (that works very well > I must say), but when the actual zone transfer information is sent out, the > slave server wont accept it. > > I have even gone to the trouble of re-writing it in the exact format of my > other entries (that do seem to work). > > And at least one of the domains has actually been delegated to our servers > officially. And it seems fine from doing a "dnsreport" test, except that a > DNS server is "lame" (which I think it is lame because it isn't accepting the > bloody transfer!! :) > > Do you think I set up some security option that is blocking the incoming > transfer? if so - why do the others work? > > > If you need more excerpts of files - np :) > > Guess I'm really needing to know if anyone has had this problem before? > > Luke > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel |