본문 바로가기

반응형

네임서버

[네임서버] bind(named) 기본 파일 확장자: $GENERATE 지시어 bind(named) 기본 파일 확장자: $GENERATE 지시어 172.20.0.0/24 역도메인(reverse domain) zonefile 생성 named.conf(/etc/bind/named.conf) 편집 vim /etc/bind/named.conf zone "0.20.172.in-addr.arpa" { type master; file "172.20.0.zone"; }; 172.20.0.zone(/var/cache/bind/172.20.0.zone) 편집 vim /var/cache/bind/172.20.0.zone $TTL60 $ORIGIN 0.20.172.IN-ADDR.ARPA. @INSOAlocalhost. root.localhost. ( 2022112307; Serial 604800; Re.. 더보기
[NAMED] Bind9 Query Log Bind9 Query Log Chapter�7.�DNS Supported Log Format http://download.logreport.org/pub/current/doc/user-manual/ch07s02.html 더보기
named hint(named.cache) 파일을 생성하는 방법 named hint(named.root|named.ca) 파일을 생성하는 방법 BIND 서버의 named.cache 파일은 루트 DNS 서버의 정보를 포함하는 파일입니다. 이 파일은 BIND 서버가 인터넷의 루트 DNS 서버에 대한 정보를 알고 있어야 정상적으로 도메인 이름을 해결할 수 있습니다. 1. www.internic.net 사이트에서 다운로드 받아 생성 named.root 다운로드 URL : https://www.internic.net/domain/named.root - named.root 파일 wget -q wget https://www.internic.net/domain/named.root -O named.root ; This file holds the information on root n.. 더보기
[bind] rndc(remote name daemon control) 유틸리티 rndc(remote name daemon control) 유틸리티 관리자용 rndc(remote name daemon control) 유틸리티가 사용하는 설정 파일로 named.conf와 비슷함 rndc.conf의 구성 options server key server { };와 key { }; 구문은 여러 개 설정할 수 있다. 설정 내용을 수동으로 하나씩 입력하거나, rndc-confgen 유틸리티를 이용할 수 있다. options { default-server localhost; default-key "rndckey"; }; server localhost { keys "rndckey"; }; key "rndckey" { algorithm hmac-md5; secret "ZMuyJzOvfbkHarwLcK.. 더보기
[네임서버] bind(named) error-ran out of space 에러 bind(named) error-ran out of space 에러 named-checkzone bioscbyun.com bioscbyun.com.zone $ named-checkzone bioscbyun.com bioscbyun.com.zone dns_rdata_fromtext: bioscbyun.com.zone:13: ran out of space zone bioscbyun.com/IN: loading from master file bioscbyun.com.zone failed: ran out of space zonefile $ cat bioscbyun.com.zone ; Created by Internet Connection SNG 961081821 $TTL 10m @ IN SOA scbyun.co.. 더보기
[네임서버] Powered by DNS Powered by DNS Powered by DNS http://wiki.kldp.org/KoreanDoc/html/PoweredByDNS-KLDP/index.html 김승영 nobreak@openbird.com 3rd Edition, 최종수정일 2001년 12월 16일, Revision 3.4.5 HTML(Divided) HTML(Combined) SGML(DocBook) 더보기
[원도우] 이벤트 ID 4000 이벤트 ID 4000 Product: Windows Operating System ID: 4000 Source: DNS Version: 5.2 Symbolic Name: DNS_EVENT_DS_OPEN_FAILED Message: The DNS server was unable to open Active Directory. This DNS server is configured to obtain and use information from the directory for this zone and is unable to load the zone without it. Check that the Active Directory is functioning properly and reload the zone. The .. 더보기
bind zone 파일 IP 변경 스크립트 bind zone 파일 IP 변경 스크립트 1. 스크립트 생성 vim change_ip.sh 2. 스크립트 편집 #!/bin/bash # 원본 파일 경로와 대상 디렉터리 설정 src_dir="/var/named/aa04" dst_dir="/tmp/named/aa04" replace_ip="10.0.10.124" new_ip="192.168.0.20" # 대상 디렉터리가 존재하지 않으면 생성 mkdir -p "$dst_dir" # 원본 디렉터리 내 파일을 하나씩 처리 for file in "$src_dir"/* do if [ -f "$file" ]; then # 파일인 경우에만 처리 filename=$(basename "$file") # 파일명 추출 # sed를 사용하여 IP 주소 치환 후 대상 디렉터리에.. 더보기

728x90
반응형