Dear Rowland.
Now, service DNS can start.
# host -t SRV _ldap._tcp.samples.com.
# host -t SRV _kerberos._udp.sample.com.
# host -t A dc.sample.com.
I can run this command.
Thank you for your support.
On Sun, Jan 17, 2021 at 8:16 PM Rowland penny via samba <
samba at lists.samba.org> wrote:
> On 17/01/2021 12:10, Hoang Quynh wrote:
> > Dear Rowland
> >
> > I send you file config.
> > please check it.
> >
> You have several problems with your files, one of which I was expecting.
>
> You do not put the AD zones into the bind9 conf files.
>
> Try these files:
>
> /etc/named.conf
>
> options {
> directory "/var/named";
> dump-file "/var/named/data/cache_dump.db";
> notify no;
> empty-zones-enable no;
> allow-query { localhost; 192.168.0.0/16; };
> allow-recursion { 192.168.0.0/16; 127.0.0.1/32; };
> forwarders { 8.8.8.8; 8.8.4.4; };
> allow-transfer { none; };
> dnssec-validation no;
> dnssec-enable no;
> dnssec-lookaside no;
> listen-on-v6 { none; };
> listen-on port 53 { 127.0.0.1; 192.168.0.146; };
> minimal-responses yes;
> auth-nxdomain yes;
> tkey-gssapi-keytab "/usr/local/samba/bind-dns/dns.keytab";
> };
>
> logging {
> channel default_debug {
> file "data/named.run";
> severity dynamic;
> };
> };
>
> zone "." IN {
> type hint;
> file "named.ca";
> };
>
> include "/etc/named.rfc1912.zones";
> include "/usr/local/samba/bind-dns/named.conf";
>
>
> /etc/named.rfc1912.zones
>
> zone "localhost.localdomain" IN {
> type master;
> file "named.localhost";
> allow-update { none; };
> };
>
> zone "localhost" IN {
> type master;
> file "named.localhost";
> allow-update { none; };
> };
>
> zone
>
"1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa"
> IN {
> type master;
> file "named.loopback";
> allow-update { none; };
> };
>
> zone "1.0.0.127.in-addr.arpa" IN {
> type master;
> file "named.loopback";
> allow-update { none; };
> };
>
> zone "0.in-addr.arpa" IN {
> type master;
> file "named.empty";
> allow-update { none; };
> };
>
>
> Delete these files:
>
> /var/named/zenplaza.com.db
> /var/named/zenplaza.com.rev
>
> Now see if Bind9 will start.
>
> Rowland
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>