Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section DNS Server
  • Search

DNS zone SOA fqdn strings are removed from dns record on adding subdomain

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
juslintek
Posts: 10
Joined: Mon Jun 20, 2016 5:55 pm

DNS zone SOA fqdn strings are removed from dns record on adding subdomain
  • Quote

Post by juslintek » Sat Jul 30, 2016 5:49 pm

Hi, for some reason on latest stable vestacp is removing soa strings from domain zone. For example:

Code: Select all

$TTL 14400
@    IN    SOA    hosting.example.tld.    root.target.tld. (
                                            2016073003
                                            7200
                                            3600
                                            1209600
                                            180 )

@       14400   IN      NS              ns1.example.tld.
@       14400   IN      NS              ns2.example.tld.
@       14400   IN      A               192.168.0.102
mail    14400   IN      A               192.168.0.102
pop     14400   IN      A               192.168.0.102
ftp     14400   IN      A               192.168.0.102
@       14400   IN      MX      10      mail.target.tld.
@       14400   IN      TXT             "v=spf1 a mx ip4:192.168.0.102 ?all"
demo    14400   IN      A               192.168.0.102
www.demo        14400   IN      A               192.168.0.102
mail.demo       14400   IN      A               192.168.0.102
www     14400   IN      CNAME           target.tld.
When I add subdomain it become like this:

Code: Select all

$TTL 14400
@    IN    SOA    hosting.example.tld.    root.. (
                                            2016073003
                                            7200
                                            3600
                                            1209600
                                            180 )

@       14400   IN      NS              ns1.example.tld.
@       14400   IN      NS              ns2.example.tld.
@       14400   IN      A               192.168.0.102
mail    14400   IN      A               192.168.0.102
pop     14400   IN      A               192.168.0.102
ftp     14400   IN      A               192.168.0.102
@       14400   IN      MX      10      mail.target.tld.
@       14400   IN      TXT             "v=spf1 a mx ip4:192.168.0.102 ?all"
demo    14400   IN      A               192.168.0.102
www.demo        14400   IN      A               192.168.0.102
mail.demo       14400   IN      A               192.168.0.102
www     14400   IN      CNAME           target.tld.
webmail     1440   IN      A           target.tld.
And after named restart I get an error and have to go to ssh and manually fix this zone :-(
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “DNS Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password