nslookup ์์ "Non-authoritative answer" ๋ผ๊ณ ๋์ค๋ ์๋ฏธ
nslookup ์์ ์กฐํํ๋ฉด ์๋์ฒ๋ผ ๊ฒฐ๊ณผ์ "Non-authoritative answer" ๋์ค๋ ๊ฒฝ์ฐ๊ฐ ์์ต๋๋ค.
$ nslookup google.com Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: google.com Address: 172.217.26.238 Name: google.com Address: 2404:6800:4004:801::200e
์ด๋ 4๊ฐ์งย DNS ์ ํ์ค "DNS recursive resolver" ๋ฅผ ์ฌ์ฉํ๋ค๋ ์๋ฏธ์ ๋๋ค.
์ฆ "๊ถํ ์๋ ์ด๋ฆ ์๋ฒ(authoritative nameserver)" ๊ฐ ์๋๋ฏ๋ก ๋ณ๊ฒฝ ์ฌํญ์ด ๋ฐ์ ์ ๋์์ ์์ด์ ์ด๋ฐ ๊ฒฝ๊ณ ๋ฅผ ๋์ฐ๋ ๊ฑด๋ฐ ๊ทธ๋ฅ ๋์ด๊ฐ๋ฉด ๋ฉ๋๋ค.
๋ง์ฝ ์ ๊ฒฝ๊ณ ๋ฅผ ์์ ๋ ค๋ฉด DNS ์กฐํ์ "๊ถํ์๋ ์ด๋ฆ ์๋ฒ" ๋ฅผ ์ฌ์ฉํ๋ฉด ๋ฉ๋๋ค.
๋จผ์ ์กฐํํ๋ ค๋ ์๋ฒ์ ๋ค์์๋ฒ๋ฅผ ์์๋ ๋๋ค.
$ nslookup -type=ns google.com Authoritative answers can be found from: ns1.google.com internet address = 216.239.32.10 ns2.google.com internet address = 216.239.34.10 ns3.google.com internet address = 216.239.36.10 ns4.google.com internet address = 216.239.38.10
๋๋ host ๋ช ๋ น์ ์ฌ์ฉํด๋ ๋ฉ๋๋ค.
$ host -t ns google.com google.com name server ns4.google.com. google.com name server ns2.google.com. google.com name server ns1.google.com. google.com name server ns3.google.com.
์กฐํ์ ์์๋ธ DNS ๋ฅผ ์ฌ์ฉํ๋๋ก nslookup ์ ์คํํ๋ฉด ๋ฉ์์ง๊ฐ ๋ฐ๋๊ฒ์ ๋ณผ์ ์์ต๋๋ค.
$ nslookup google.com NS1.GOOGLE.COM Server: NS1.GOOGLE.COM Address: 216.239.32.10#53 Name: google.com Address: 142.250.207.46 Name: google.com Address: 2404:6800:4004:824::200e