subnet Posted July 20, 2015 Share Posted July 20, 2015 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 More sharing options...
d00p Posted July 20, 2015 Share Posted July 20, 2015 You can specify nameservers in the settings... Link to comment Share on other sites More sharing options...
subnet Posted July 20, 2015 Author Share Posted July 20, 2015 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.4mail IN A 1.2.3.4ns1 IN A 1.2.3.4ns2 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 More sharing options...
d00p Posted July 21, 2015 Share Posted July 21, 2015 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 More sharing options...
subnet Posted July 21, 2015 Author Share Posted July 21, 2015 Yes, I tottaly forgot about chattr. Thank you very much. Also, is there some plan for more flexible DNS management trough Froxlor in the future releases? Link to comment Share on other sites More sharing options...
d00p Posted July 21, 2015 Share Posted July 21, 2015 https://redmine.froxlor.org/issues/1196 https://redmine.froxlor.org/issues/731 https://redmine.froxlor.org/issues/144 Link to comment Share on other sites More sharing options...
Question
subnet
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
Archived
This topic is now archived and is closed to further replies.