【问题标题】:Powerdns Subdomain & DelegationPowerdns 子域和委派
【发布时间】:2015-02-08 09:40:09
【问题描述】:

我正在使用 PowerDNS 权威服务器和 pdns-mysql-backend。 我正在尝试创建一个子域并将外部 NS 委托给它。 但我找不到合适的文档或示例。我只需要为子域创建 NS 记录?

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? 

【问题讨论】:

    标签: dns delegates subdomain powerdns


    【解决方案1】:
    1. 在大多数情况下,在使用 MySQL 后端时,您很可能希望为您的区域使用“NATIVE”类型
    2. 删除“test.example.com”区域
    3. 记录正确且有效

    【讨论】:

    • 不,他希望 test.example.com 使用 ns1.book.com
    猜你喜欢
    • 1970-01-01
    • 2014-10-29
    • 1970-01-01
    • 2019-08-15
    • 2017-06-08
    • 1970-01-01
    • 1970-01-01
    • 2010-11-03
    • 2017-01-04
    相关资源
    最近更新 更多