Trailing period after name servers in new virtual server's zone

3 posts / 0 new
Last post
#1 Wed, 05/06/2015 - 10:25
quacktacular

Trailing period after name servers in new virtual server's zone

For some reason when I add a new virtual server, the DNS zone file is created with an extra (two) trailing periods after the last nameserver. I can't figure out where it's coming from.. I checked in the DNS setting under Server Templates but everything looks ok to me. Any ideas?

I wonder if maybe there's another empty name server or other field that normally goes there which is blank or something?

$ttl 38400
@   IN  SOA ns1.quacktacular.net. root.ns1.quacktacular.net. (
            1430924597
            10800
            3600
            604800
            38400 )
@   IN  NS  ns1.quacktacular.net.
@   IN  NS  ns2.quacktacular.net..
innocence.quacktacular.net. IN  A   167.160.171.143
www.innocence.quacktacular.net. IN  A   167.160.171.143
ftp.innocence.quacktacular.net. IN  A   167.160.171.143
m.innocence.quacktacular.net.   IN  A   167.160.171.143
localhost.innocence.quacktacular.net.   IN  A   127.0.0.1
webmail.innocence.quacktacular.net. IN  A   167.160.171.143
admin.innocence.quacktacular.net.   IN  A   167.160.171.143
mail.innocence.quacktacular.net.    IN  A   167.160.171.143
innocence.quacktacular.net. IN  MX  5 mail.innocence.quacktacular.net.
innocence.quacktacular.net. IN  TXT "v=spf1 a mx a:innocence.quacktacular.net ip4:167.160.171.143 ?all"
autoconfig.innocence.quacktacular.net.  IN  A   167.160.171.143 

The extra period causes BIND to fail to restart, and I have to manually edit the period out and start it each time.

Wed, 05/06/2015 - 20:37
quacktacular

This is making me crazy haha. Is there a file that stores the templates for a new virtual server DNS zone?

Wed, 05/06/2015 - 20:49
quacktacular

Ok this is resolved... The trailing period was added in the configuration for my Cluster Slave Server under DNS / BIND settings in Webmin. I removed and re-added the slave without the trailing period. Doh.

Topic locked