nerdexam
CompTIA

CAS-002 · Question #571

A company has a primary DNS server at address 192.168.10.53 and a secondary server at 192.168.20.53. An administrator wants to secure a company by only allowing secure zone transfers to the…

The correct answer is C. key company-key.{. Securing DNS zone transfers between primary and secondary servers requires TSIG (Transaction SIGnature) key-based authentication in the BIND named.conf configuration.

Technical Integration of Enterprise Components

Question

A company has a primary DNS server at address 192.168.10.53 and a secondary server at 192.168.20.53. An administrator wants to secure a company by only allowing secure zone transfers to the secondary server. Which of the following should appear in the primary DNS configuration file to accomplish this?

Options

  • Akey company-key.{
  • Bkey company-key.{
  • Ckey company-key.{
  • Dkey company-key.{

How the community answered

(17 responses)
  • A
    18% (3)
  • B
    6% (1)
  • C
    71% (12)
  • D
    6% (1)

Why each option

Securing DNS zone transfers between primary and secondary servers requires TSIG (Transaction SIGnature) key-based authentication in the BIND named.conf configuration.

Akey company-key.{

This option contains an incorrect configuration structure or algorithm specification that does not properly bind the TSIG key to the secondary server address.

Bkey company-key.{

This option uses a malformed or incomplete key definition that would not successfully authenticate zone transfer requests from the secondary server.

Ckey company-key.{Correct

The correct BIND configuration defines a TSIG shared-secret key block and then references that key within an allow-transfer ACL targeting only the secondary server at 192.168.20.53, ensuring zone data is cryptographically authenticated and only transferred to the authorized recipient. TSIG uses HMAC algorithms (e.g., HMAC-SHA256) to sign each DNS message, preventing zone enumeration by unauthorized parties. The correct option uses the proper syntax pairing the key definition with a server or zone block that restricts transfers to 192.168.20.53 using that key.

Dkey company-key.{

This option either omits the allow-transfer restriction or references an incorrect server address, failing to limit secure transfers exclusively to 192.168.20.53.

Concept tested: DNS TSIG key configuration for secure zone transfers

Source: https://bind9.readthedocs.io/en/latest/reference.html#tsig

Topics

#DNS zone transfer#TSIG#DNS security configuration#primary secondary DNS

Community Discussion

No community discussion yet for this question.

Full CAS-002 Practice