메뉴 닫기

PDNS의 다양한 에러 로그 및 해결책

PDNS 설치 후 운영중 발생하는 로그에 대한 처리 방법입니다.
인터넷의 국내 문서는 희박하여 해외의 웹사이트를 참고하거나, 무작정 설정값을 변경하여
처리를 한 사례입니다.
이 외에도 다양한 로그가 있겠으나 개인적으로 접해본적이 없으므로 생략합니다.
 
 
[에러]
Jan 20 10:23:10 ns1 pdns[18253]: AXFR of domain ‘neulwon.com’ failed: not authoritative
 
[해결]
pdns.conf 파일에 disable-axfr=no 설정
 
————————–
 
[에러]
Jan 20 10:56:32 ns1 pdns[12973]: Received a malformed qdomain from 27.102.207.197, ‘http://neulwon.com‘: sending servfail
 
[해결]
설정상의 특별한 문제가 있는것이 아니므로 무시해도 됩니다.
쿼리를 도메인으로 하지 않고 잘못된 쿼리를 요청해서 응답할 수 없다고 나타나는 메세지 입니다.
 
예)
nslookup http://neulwon.com ns1.neulwon.com    // 잘못된 쿼리
nslookup neulwon.com ns1.neulwon.com          : // 정상 쿼리
 
————————–
 
[에러]
Jan 20 10:27:23 ns1 pdns[3077]: Recursive query for remote 176.31.191.182:25345 with internal id 65 was not answered by backend within timeout, reusing id
 
[해결]
recursor=168.126.63.1 이와 같이 ISP 업체 네임서버를 사용하더라도 정보를 받아오는데 시간이 걸리기 때문에 발생한 문제입니다.
이를 해결하려면 자체 네임서버(pdns 구동 서버)의 pdns-recursion 설정을 통해 해결하면 됩니다.
 
# vi /etc/pdns-reursor/recursor.conf
setuid=pdns-recursor
setgid=pdns-recursor
config-dir=/etc/pdns-recursor/
daemon=yes
local-port=54
socket-dir=/var/run/

version-string=ns1.neulwon.com 

 
pdns-recursor 를 54번 포트로 구동합니다.
# /etc/init.d/pdns-recursor start
 
그리고 pdns.conf 파일 옵션중 recursor 만 아래 내용으로 수정합니다.
recursor=127.0.0.1:54
 
끝으로 pdns 를 재시작 해줍니다.
# /etc/init.d/pdns restart
 
————————–
 
[에러]
Jan 20 13:57:52 ns9 pdns[18384]: Discarding packet from recursor backend with id 18397, qname or qtype mismatch
 
[해결]
질의 응답은 정상적이나 messages 로그에 대량의 로그가 쌓입니다.
이는 /etc/resolv.conf 의 네임서버와 pdns.conf 의 recursor 설정 IP가 맞지 않아서 발생하는 문제이므로
recursor 에 설정한 IP를 /etc/resolv.conf 에 설정한 IP와 동일하게 맞추어 주면 됩니다.

 

 

[polldaddy rating=”7739789″]

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x