/
nslookup 에서 "Non-authoritative answer" 라고 나오는 의미
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
, multiple selections available,
Related content
nslookup 명령어 사용법 및 예제 정리
nslookup 명령어 사용법 및 예제 정리
More like this
브라우저 주소창에 google.com 을 입력했을 때 DNS 를 찾는 방법
브라우저 주소창에 google.com 을 입력했을 때 DNS 를 찾는 방법
More like this
/etc/hosts 에 도메인을 추가했지만 nslookup 에서 조회가 안 되는 이유
/etc/hosts 에 도메인을 추가했지만 nslookup 에서 조회가 안 되는 이유
More like this
Linux host 명령어 사용법 및 예제 정리
Linux host 명령어 사용법 및 예제 정리
More like this
DNS 를 상태를 진단할 수 있는 dig 명령어 사용법
DNS 를 상태를 진단할 수 있는 dig 명령어 사용법
More like this
Linux 에서 네임 서비스 스위치(nsswitch; Name Service Switch) 설정
Linux 에서 네임 서비스 스위치(nsswitch; Name Service Switch) 설정
More like this