2014-12-10 1 views
1

PowerDNS 신뢰할 수있는 서버 및 pdns-mysql-backend를 사용하고 있습니다. 그리고 하위 도메인을 만들고 외부 NS를 위임하려고합니다. 그러나 적절한 문서 나 예제를 찾을 수 없습니다. 하위 도메인에 대한 NS 레코드를 만들면됩니까? 대부분의 경우Powerdns 하위 도메인 및 위임

1. existing domain is "example.com" 
2. sub-domain that I want to create is "test.example.com" 
3. external NS is "ns1.book.com" 

and I have created records to mysql like below. 

"domains table" 
id |name    |master |last_check | type |notified_serial | account 
---------------------------------------------------------------------------- 
1 |example.com  |(NULL) |(NULL)  |MASTER |    0|(NULL) 
2 |test.example.com |(NULL) |(NULL)  |MASTER |    0|(NULL) 

"records table" 
id |domain_id |name    |type |content 
---------------------------------------------------------------------------- 
1 |   1|example.com  |SOA |ns1.example.com hostmaster.example.com 10 900 600 86400 3600 
2 |   1|example.com  |NS |ns1.example.com 
3 |   1|example.com  |NS |ns2.example.com 
4 |   1|ns1.example.com |A  |10.10.10.10 
5 |   1|ns2.example.com |A  |20.20.20.20 
6 |   1|test.example.com |NS |ns1.book.com 

Is there anything I have to do? 

답변

1
  1. MySQL의 백엔드를 사용하는 대부분의 아마
  2. 은 "test.example.com"영역 기록은
  3. 을 제거하여 영역에 대한 "NATIVE"형식을 사용하는 것이 좋습니다 정확하고 올바르게 작동 할 것입니다.