Hello,
I am sure this is a misconfiguration on my part but not sure where to find it yet. Here's what my zone looks like when I use the bind module:
zone "darfdarf.com" { type master; file "/var/named/darfdarf.com.hosts"; also-notify { 10.25.1.11; 10.63.1.20; }; notify yes; };
And here's what happens when I use the virtualmin module:
zone "zipfoo.com" { type master; file "/var/named/zipfoo.com.hosts"; also-notify { 10.25.1.11; 10.63.1.20; }; notify yes; allow-transfer { 127.0.0.1; localnets; 10.25.1.11; 10.63.1.20; }; };
I don't want the allow-transfer option in each zone. Where is this configuration in virtualmin?
Thanks!
Howdy,
Do you see anything regarding that in System Settings -> Server Templates -> Default -> BIND DNS Domain?
I know you said it worked okay from the BIND module, but I might also double-check Webmin -> Servers -> BIND DNS Server -> Zone Defaults, and make sure everything there looks sane.
-Eric
Sorry, but I am not following your directions very well. I don't see System Settings, Server Templates. I know where the zone defaults are in bind and that looks fine to me.
Ok, changed my theme and found your path. :)
I checked that before and it appears to be all defaults.
Hmm, well, the "Server Templates" section should show up on the navbar on the left, visible on the main screen when you log into Virtualmin.
If you don't see that, and you're logged in as root, you may not be using the standard Virtualmin theme.
How did you go about installing Virtualmin?
However, you'll probably need to be using the Virtualmin Framed Theme in order to access the Server Templates.
-Eric
I think we posted at the same time and you missed my latest response. I found the templates section after switching to the virtualmin framed theme, but I have visited that before and it appears to be all defaults.
It was past my bedtime, so I zipped off to bed after I posted :-)
Is there any chance you could post screenshots of:
1. BIND DNS Domain screen in the Server Templates
2. Zone Defaults screen in the Webmin Module
If that doesn't show anything useful, I may ask if I can log in and poke around a little (we can skip the screenshot step if you like, and you can mail me root login details to eric@virtualmin.com -- be sure to include a link to this post in the message body).
-Eric
Here are the screenshots. Looks like I have to post twice to get both attachments in.
Got this trying to edit my post:
Oops! You've hit a bug in the forum software. We already know about the problem. Apologies for the inconvenience.
I zipped the screenshots. :) [file name=screenshots.zip size=237436]http://www.virtualmin.com/components/com_fireboard/uploaded/files/screen...
Ahh, the additional template file listed in the BIND module may be contributing to that.
What is in /etc/webmin/bind-template?
-Eric
$DOM. IN NS dns3.jelecossystems.com.
Ok.
There's a section labeled "Allow Transfers from" in the BIND module -- it's set to "jelecos-slaves" at the moment.
Making sure you save everything that's in there first -- if you change that back to the "Default" radio button, then add a new entry in Virtualmin, does that by chance resolve the issue? I'm just checking if maybe this is just Virtualmin's behavior when slaves are involved :-)
-Eric
I took that out and it is still creating the zone as follows:
zone "asdfasdf.com" {
type master;
file "/var/named/asdfasdf.com.hosts";
also-notify {
10.25.1.11;
10.63.1.20;
};
notify yes;
allow-transfer {
127.0.0.1;
localnets;
10.25.1.11;
10.63.1.20;
};
};
That allow-transfer doesn't match any of my ACLs exactly. Here they are just for reference:
acl jelecos-slaves {
10.25.1.11;
10.63.1.20;
};
acl jelecos-internal {
10/8;
192.168/16;
172.16/12;
};
I took that out and it is still creating the zone as follows:
zone "asdfasdf.com" {
type master;
file "/var/named/asdfasdf.com.hosts";
also-notify {
10.25.1.11;
10.63.1.20;
};
notify yes;
allow-transfer {
127.0.0.1;
localnets;
10.25.1.11;
10.63.1.20;
};
};
That allow-transfer doesn't match any of my ACLs exactly. Here they are just for reference:
acl jelecos-slaves {
10.25.1.11;
10.63.1.20;
};
acl jelecos-internal {
10/8;
192.168/16;
172.16/12;
};
Anyone have an idea with this? I am not sure it's a big problem for me but would like to eliminate the extra config if possible. Thanks!