ECCouncil 312-50v13 Question Answer
Which of the following Linux commands will resolve a domain name into IP address?
>host -t a hackeddomain.com
>host -t ns hackeddomain.com
>host -t soa hackeddomain.com
>host -t AXFR hackeddomain.com
The host command in Linux is used for DNS lookup operations. The switch -t specifies the type of DNS record you are querying.
host -t a domain.com queries for A (Address) records, which return the IP address associated with a domain.
host -t ns queries for name servers (NS records).
host -t soa queries for the Start of Authority (SOA) record.
host -t AXFR attempts a zone transfer (not a standard resolution method and typically blocked).
Hence, option A correctly resolves a domain name to its IP address.
TESTED 03 Aug 2025
Copyright © 2014-2025 ACE4Sure. All Rights Reserved