如何将子域名委托给 samba DC?

如何将子域名委托给 samba DC?

我设置了一个 samba 服务器,并且希望我网络上的所有客户端都使用相同的 DNS 服务器。

图表

我已经按如下方式配置了服务器 (ubuntu/bind9:9.18-22.04_beta)。我不太明白如何配置我的区域,以免出现更多错误。

NS1 LOG
10-Mar-2024 10:27:35.502 DNS format error from 10.3.0.9#53 resolving _ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.wit.yooml.lan/SRV for 10.3.0.1#35268: non-improving referral
10-Mar-2024 10:27:35.502 FORMERR resolving '_ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.wit.yooml.lan/SRV/IN': 10.3.0.9#53

NS2 LOG
10-Mar-2024 10:26:42.653 all zones loaded
10-Mar-2024 10:26:42.653 running
10-Mar-2024 10:26:52.649 resolver priming query complete: timed out
10-Mar-2024 10:26:52.649 managed-keys-zone/internal: Unable to fetch DNSKEY set '.': timed out
#NS1 CONF
view "internal" {
        match-clients { 192.168.0.0/16; localhost; };

        dnssec-validation yes;
        recursion yes;

        forwarders {
                10.3.0.7; #AdGuard
        };

        zone "yooml.lan" {
                type forward;
                forward only;
                forwarders { 10.3.0.9; }; #NS2
        };
};
#NS2 CONF
view "internal" {
        match-clients { 10.3.0.6/32; }; #NS1

        zone "yooml.lan" {
               type master;
               file "/etc/bind/db.yooml.lan";
               #dnssec-policy default;
               serial-update-method increment;
        };
};

$TTL 60
@       IN      SOA     ns2.yooml.lan. [email protected]. (2023081404 86400 3600 3600000 300)
        IN      NS      ns2.yooml.lan.

test    IN      A       192.168.0.1
wit     IN      NS      delta.wit.yooml.lan.
delta.wit.yooml.lan.   IN      A       10.3.0.8

答案1

通过货运代理和监管机构之间的协商解决图表

相关内容