Creating new Virtual Server creates a DNS zone that shuts down BIND

5 posts / 0 new
Last post
#1 Fri, 10/13/2017 - 14:58
pgordemer

Creating new Virtual Server creates a DNS zone that shuts down BIND

New Centos 7 installation, Virtualmin 6.01.

When creating a new virtual server, the created DNS zone has invalid data in it (the word none), that will not allow bind/named to restart. In order to get it back up, I have to manually edit the zone file and remove it.

Below is the file created. (I have changed the IP address and ns for display here). Note the line that says "none"

$ttl 38400
@       IN      SOA     ns1.example.com. root.ns1.example.com. (
                        1507924138
                        10800
                        3600
                        604800
                        38400 )
@       IN      NS      ns1.example.com.
@       IN      NS      ns2.example.com.
testtesttest.com.       IN      A       192.168.141.58
www.testtesttest.com.   IN      A       192.168.141.58
ftp.testtesttest.com.   IN      A       192.168.141.58
webmail.testtesttest.com.       IN      A       192.168.141.58
admin.testtesttest.com. IN      A       192.168.141.58
mail.testtesttest.com.  IN      A       192.168.141.58
testtesttest.com.       IN      MX      5 mail.testtesttest.com.
testtesttest.com.       IN      TXT     "v=spf1 a mx a:testtesttest.com ip4:192.168.141.58  -all"
none
autoconfig.testtesttest.com.    IN      A       192.168.141.58
autodiscover.testtesttest.com.  IN      A       192.168.141.58
Fri, 10/13/2017 - 18:28
Joe
Joe's picture

What's in your Server Templates in the BIND DNS Domain section?

I can't see how "none" would show up unless you've actually got "none" in the extra records field.

--

Check out the forum guidelines!

Fri, 10/13/2017 - 19:40
pgordemer

This is a NEW install, with NOTHING added that is not out of the box. I checked the skeleton bind section and there is nothing added at all.

I also saw the word none in a thread on a problem in this thread: https://www.virtualmin.com/comment/785340#comment-785340

Sat, 10/14/2017 - 18:24 (Reply to #3)
Joe
Joe's picture

Huh, yeah, that's interesting and new. I haven't seen this behavior. I'm gonna try to reproduce it. That issue is all over the place, so I doubt Jamie will even notice the issue with 'none' since there's like a half-dozen other issues being discussed in one ticket. ;-)

I'll see if I can figure out how to trigger this, and hand it off to Jamie to fix if I can't spot why it's messing up.

--

Check out the forum guidelines!

Fri, 10/13/2017 - 20:28
pgordemer

Although this is a NEW install and there is NOTHING added in the BIND section of the server templates skeleton, I notice above the NONE appears after SPF in the zone file. In the Bind Section of the template, after SPF and DKIM, there is a button that is checked as NONE in the Added named.conf directives for new zones. I wondering if it is taking it literally.

Topic locked