nerdexam
EC-Council

312-50V11 · Question #140

DNS cache snooping is a process of determining if the specified resource address is present in the DNS cache records. It may be useful during the examination of the network to determine what software

The correct answer is C. nslookup -norecursive update.antivirus.com. DNS cache snooping uses non-recursive queries to check if a DNS record is already cached, revealing what domains a server has recently resolved without triggering new lookups.

Enumeration

Question

DNS cache snooping is a process of determining if the specified resource address is present in the DNS cache records. It may be useful during the examination of the network to determine what software update resources are used, thus discovering what software is installed. What command is used to determine if the entry is present in DNS cache?

Options

  • Anslookup -fullrecursive update.antivirus.com
  • Bdnsnooping -rt update.antivirus.com
  • Cnslookup -norecursive update.antivirus.com
  • Ddns --snoop update.antivirus.com

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    9% (2)
  • C
    73% (16)
  • D
    14% (3)

Why each option

DNS cache snooping uses non-recursive queries to check if a DNS record is already cached, revealing what domains a server has recently resolved without triggering new lookups.

Anslookup -fullrecursive update.antivirus.com

The `-fullrecursive` flag forces the DNS server to perform a full recursive resolution, which always retrieves the record and therefore cannot distinguish between a cached and uncached entry.

Bdnsnooping -rt update.antivirus.com

`dnsnooping` is not a valid or recognized command-line utility on any standard operating system.

Cnslookup -norecursive update.antivirus.comCorrect

The `-norecursive` flag instructs the DNS server not to perform a new recursive lookup. If the record is present in cache, the server returns it; if absent, it returns nothing. This behavior is the foundation of cache snooping - a recursive query would always fetch the record, making it impossible to determine whether it was cached beforehand.

Ddns --snoop update.antivirus.com

`dns --snoop` is not a real command and does not exist in any standard DNS toolset.

Concept tested: DNS cache snooping via non-recursive nslookup queries

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/nslookup

Topics

#DNS cache snooping#nslookup non-recursive#DNS enumeration#cache inspection

Community Discussion

No community discussion yet for this question.

Full 312-50V11 Practice