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


๊ฐ™์ด ๋ณด๊ธฐ

Ref