QuestionQ53

VerifiedSamba and Active Directory Domains

Which command would you use to add a forward DNS record named fileserver01, pointing to the IPv6 address 2001:db8::190, into the DNS zone samba.private on the Samba 4 server dc1?

Explanation

In Samba 4 Active Directory DC environments, DNS zone records are managed with the samba-tool dns subcommand. The add action uses the syntax samba-tool dns add <server> <zone> <name> <type> <data> [-U username]. For this scenario, the correct invocation is samba-tool dns add dc1 samba.private fileserver01 AAAA 2001:db8::190 -U Administrator, which specifies the DNS server (dc1), the zone (samba.private), the record name (fileserver01), the record type (AAAA for an IPv6 address), the IPv6 address value, and the administrative user credential required to make the change. None of the other listed commands (net dns, dnstool, samba-dns dynupdate, nsupdatesmb) are valid Samba DNS management utilities.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!