300-300 practice question 2 of 15
Which of the following commands adds 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?
Full set: 53 questionsThe samba-tool utility is the primary command-line tool for administering a Samba Active Directory (AD) Domain Controller (DC). The dns add subcommand is the correct method for manually adding a DNS record. The command syntax samba-tool dns add directly maps to the question's requirements. It correctly specifies the target server (dc1), the zone (samba.private), the new hostname (fileserver01), the record type for IPv6 (AAAA), and the corresponding IP address. The -U Administrator option provides the necessary credentials to perform the action.
A. The net dns command is used for querying or managing zones, but it does not have an addrecord subcommand for creating individual DNS records in this manner.
B. dnstool is not a standard command-line utility provided by the Samba suite for DNS management.
C. samba-dns is not a valid command. The related sambadnsupdate script is used for dynamic DNS updates, not for manual administrative record creation.
D. nsupdatesmb is not a standard command within the Samba suite. The standard tool for dynamic updates is nsupdate, which has a different purpose and syntax.
1. Samba Wiki, DNS Administration: The official Samba documentation explicitly details the usage of samba-tool for DNS management. The syntax for adding a record is shown as: samba-tool dns add . This directly validates the structure of the correct answer. (See section "Managing DNS Records Using samba-tool").
Source: Samba Project. (n.d.). DNS Administration. SambaWiki. Retrieved from https://wiki.samba.org/index.php/DNSAdministration
2. samba-tool(8) Man Page: The official man page for samba-tool documents the dns subcommand and its options. The add action is described with the syntax: add . This serves as the primary reference for the command's syntax.
Source: samba-tool(8) Linux man page, section DNS COMMANDS.
3. Red Hat Enterprise Linux 8 Documentation, Chapter 26. Managing DNS on a Samba AD DC: This official vendor documentation provides examples of using samba-tool dns add to create records in a Samba AD environment, confirming its role as the standard administrative tool for this task.
Source: Red Hat. (2023). Configuring and using Samba as a print or file server. Red Hat Enterprise Linux 8 Documentation. Section 26.4.1. "Adding a DNS Record to a Zone".
Keep practicing
Take the free 300-300 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 300-300 practice questions
- Question 1In case the following parameters are set in a Samba file share configuration: create mask…
- Question 3Which of the following commands terminates all running instances of the Samba daemon hand…
- Question 4Given a proper network and name resolution setup, which of the following commands establi…
- Question 5Which smbclient invocation displays a list of the available SMB shares on the remote Samb…
- Question 7Which of the following statements are true regarding the smbpasswd command? (Choose two.)
- Question 8Which of the following names identify services within a SSSD configuration file? (Choose …
