Hi,
Just installed it on Ubuntu 16.04.
run /usr/local/directslave/bin/directslave --check everything is OK
After create test.com domain on DA for testing, only /etc/named/secondary/named.conf file created, there is no test.com.db zone file.
error.log
Code:
2017/07/07 19:16:51 DEBUG: &{Method:POST URL:/CMD_API_DNS_ADMIN?action=rawsave&domain=test.com Proto:HTTP/1.0 ProtoMajor:1 ProtoMinor:0 Header:map[Authorization:[Basic YWRtaW46R2lARHV5NzI3NQ==] Content-Length:[867]] Body:0xc420019f40 GetBody:<nil> ContentLength:867 TransferEncoding:[] Close:true Host: Form:map[action:[rawsave] domain:[test.com]] PostForm:map[] MultipartForm:<nil> Trailer:map[] RemoteAddr:104.207.135.112:52941 RequestURI:/CMD_API_DNS_ADMIN?action=rawsave&domain=test.com TLS:<nil> Cancel:<nil> Response:<nil> ctx:0xc4200e7980}
2017/07/07 19:16:51 DEBUG: &{Method:POST URL:/CMD_API_DNS_ADMIN?action=rawsave&domain=test.com Proto:HTTP/1.0 ProtoMajor:1 ProtoMinor:0 Header:map[Authorization:[Basic YWRtaW46R2lARHV5NzI3NQ==] Content-Length:[1356]] Body:0xc4201803c0 GetBody:<nil> ContentLength:1356 TransferEncoding:[] Close:true Host: Form:map[domain:[test.com] action:[rawsave]] PostForm:map[] MultipartForm:<nil> Trailer:map[] RemoteAddr:104.207.135.112:60540 RequestURI:/CMD_API_DNS_ADMIN?action=rawsave&domain=test.com TLS:<nil> Cancel:<nil> Response:<nil> ctx:0xc4200e7e90}
2017/07/07 19:16:57 exit status 1
action.log
Code:
2017/07/07 19:16:50 Authorization passed for admin from 104.207.135.112
2017/07/07 19:16:50 Checking test.com from 104.207.135.112
2017/07/07 19:16:50 Domain test.com not exists
2017/07/07 19:16:50 Authorization passed for admin from 104.207.135.112
2017/07/07 19:16:50 Checking test.com from 104.207.135.112
2017/07/07 19:16:50 Domain test.com not exists
2017/07/07 19:16:51 Authorization passed for admin from 104.207.135.112
2017/07/07 19:16:51 Domain test.com added with primary 104.207.135.112
2017/07/07 19:16:51 Authorization passed for admin from 104.207.135.112
2017/07/07 19:16:51 Reloaded test.com from master 104.207.135.112
2017/07/07 19:16:57 RNDC queue triggered with 2 events
2017/07/07 19:16:57 RNDC output:
access.log
Code:
2017/07/07 19:16:50 [104.207.135.112] "GET /CMD_API_DNS_ADMIN?action=exists&domain=test.com HTTP/1.0"
2017/07/07 19:16:50 [104.207.135.112] "GET /CMD_API_DNS_ADMIN?action=exists&domain=test.com HTTP/1.0"
2017/07/07 19:16:51 [104.207.135.112] "POST /CMD_API_DNS_ADMIN?action=rawsave&domain=test.com HTTP/1.0"
2017/07/07 19:16:51 [104.207.135.112] "POST /CMD_API_DNS_ADMIN?action=rawsave&domain=test.com HTTP/1.0"
2017/07/07 19:16:51 [104.207.135.112] "POST /CMD_API_DNS_ADMIN?action=rawsave&domain=test.com HTTP/1.0"
2017/07/07 19:16:51 [104.207.135.112] "POST /CMD_API_DNS_ADMIN?action=rawsave&domain=test.com HTTP/1.0"