Jump to content
Froxlor Forum
  • 0

Custom DNS Path


subnet

Question

Hello,

 

In which format custom path for domain file should be? I try with full path

/etc/bind/customdomain/domain.com.zone and populate the file with correct information but

without success. I am trying to add ns1 and ns2 records for my domain.

 

Thanks.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

They are already configured and properly added to each domain file that I configure trough Froxlor.

My problem is that for my main domain where my nameservers are I need to add records ns1 and ns2.

 

My final result should be something like this:

 

$TTL 3600000
@ IN SOA ns1.domain.com. root.domain.com. (
        2015072001 ; serial
        8H ; refresh
        2H ; retry
        1W ; expiry
        11h) ; minimum
@    IN    NS    ns1.domain.com.
@    IN    NS    ns2.domain.com.
@    IN    MX    10 mail.domain.com.
@       IN      TXT     "v=spf1 a mx -all"
mail    IN      TXT     "v=spf1 a mx -all"
www     IN      A        1.2.3.4
mail    IN      A         1.2.3.4
ns1     IN      A        1.2.3.4
ns2     IN      A        1.2.3.5

 

When I edit the default domain file everything is working as expected until froxlor cron reset it :(

 

Link to comment
Share on other sites

Froxlor cannot specify a-record entries. either diable nameserver for the specific domain and create a custom zonefile (in another directory) and include it in bind.conf or set the zonefile you don't want to change to immutable using "chattr +i"

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...