bind discrepancies

15 posts / 0 new
Last post
#1 Mon, 04/27/2009 - 19:24
td3201

bind discrepancies

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!

Mon, 04/27/2009 - 19:32
andreychek

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

Mon, 04/27/2009 - 19:40 (Reply to #2)
td3201

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.

Mon, 04/27/2009 - 19:45 (Reply to #3)
td3201

Ok, changed my theme and found your path. :)

I checked that before and it appears to be all defaults.

Mon, 04/27/2009 - 19:46 (Reply to #4)
andreychek

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

Tue, 04/28/2009 - 03:46 (Reply to #5)
td3201

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.

Tue, 04/28/2009 - 04:55 (Reply to #6)
andreychek

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

Tue, 04/28/2009 - 05:02 (Reply to #7)
td3201

Here are the screenshots. Looks like I have to post twice to get both attachments in.

Tue, 04/28/2009 - 05:03 (Reply to #8)
td3201

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...

Tue, 04/28/2009 - 05:11 (Reply to #9)
andreychek

Ahh, the additional template file listed in the BIND module may be contributing to that.

What is in /etc/webmin/bind-template?
-Eric

Tue, 04/28/2009 - 05:20 (Reply to #10)
td3201

$DOM. IN NS dns3.jelecossystems.com.

Tue, 04/28/2009 - 05:51 (Reply to #11)
andreychek

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

Sun, 06/07/2009 - 07:53 (Reply to #12)
td3201

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;
};

Sun, 06/07/2009 - 07:53 (Reply to #13)
td3201

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;
};

Tue, 04/28/2009 - 09:54
td3201

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!

Topic locked