퀘스트 77DNSMaster
+190 XP
DNS Resolution & Lookups (dig, nslookup & host)
이 퀘스트를 위한 인터랙티브 터미널 시작→설치 불필요 • 브라우저에서 바로 실행
개념 및 개요
When your machine translates a human-readable domain name like example.com into an IP address like 93.184.216.34, it queries DNS nameservers configured in /etc/resolv.conf.
- /etc/resolv.conf: Contains your system's primary and fallback DNS nameservers.
- dig : The de-facto standard administrator tool for testing DNS queries, returning response headers, query latency, and record TTLs. Adding +short prints only the final IP answer.
- nslookup and host : Lightweight queries for checking A/AAAA and MX mail exchange records.
미션 지침
Inspect your local DNS resolvers with
cat /etc/resolv.conf, run a DNS lookup using dig example.com (or dig +short example.com), and test name resolution using nslookup example.com (or host example.com).명령어 구문 참조
| Command / Syntax | Description |
|---|---|
cat /etc/resolv.conf | Inspect configured system DNS resolvers |
dig example.com | Query DNS records and server response headers |
dig +short example.com | Query only resolved IP address |
nslookup example.com | Interactive and basic domain name resolution |
검증 목표
- ○Inspect /etc/resolv.conf
- ○Query DNS records with dig
- ○Resolve domain name with nslookup or host