본문 바로가기

반응형

BIND

[명령어] dig 명령어 dig 명령어 bind-utils 패키지 설치(dig) $ yum install -y bind-utils dig 명령어 중 자주쓰는 옵션 A 레코드 조회 $ dig sangchul.kr ; DiG 9.11.4-P2-RedHat-9.11.4-26.P2.amzn2.5 sangchul.kr ;; global options: +cmd ;; Got answer: ;; ->>HEADERHEADER 더보기
[bind] Wildcard DNS record Wildcard DNS record https://en.wikipedia.org/wiki/Wildcard_DNS_record Set Up WildCard DNS If you have a dedicated IP address, you can create a wildcard A record by setting the Host Name value to an * (asterisk). When you do so, if the subdomain queried does not exist, the server will respond with the IP address specified in the Zone File Editor as the wildcard. For example, if someone were to vi.. 더보기
[네임서버] rndc 명령어 rndc 명령어 # rndc Usage: rndc [-b address] [-c config] [-s server] [-p port] [-k key-file ] [-y key] [-V] command command is one of the following: reload Reload configuration file and zones. reload zone [class [view]] Reload a single zone. refresh zone [class [view]] Schedule immediate maintenance for a zone. retransfer zone [class [view]] Retransfer a single zone without checking serial number. f.. 더보기
[네임서버] BIND 관리를 위한 RNDC 설정_v201704 [BIND] BIND 관리를 위한 RNDC 설정_v201704 1. rndc.conf 파일 및 키 생성 # rndc-confgen > /etc/rndc.conf ---Output # Start of rndc.conf key "rndc-key" { algorithm hmac-md5; secret "VHwE0YVJvw+4EY7SFimblg=="; }; options { default-key "rndc-key"; default-server 127.0.0.1; default-port 953; }; # End of rndc.conf # Use with the following in named.conf, adjusting the allow list as needed: # key "rndc-key" { # algor.. 더보기
[bind] 슬레이브 ZONE 파일 유형 변경(masterfile-format) 슬레이브 ZONE 파일 유형 변경(data -> ASCII text) options { ... masterfile-format text; ... } Syntax: [ masterfile-format (text|raw) ; ] masterfile-format Specifies the file format of zone files (see Section 6.3.7). The default value is text, which is the standard textual representation, except for slave zones, in which the default value is raw. Files in other formats than text are typically expected to be.. 더보기
[bind] $GENERATE Directive BIND Master File Extension: the $GENERATE Directive Syntax: $GENERATE range lhs [ttl] [class] type rhs [comment] $GENERATE is used to create a series of resource records that only differ from each other by an iterator. $GENERATE can be used to easily generate the sets of records required to support sub /24 reverse delegations described in RFC 2317: Classless IN-ADDR.ARPA delegation. $ORIGIN 0.0... 더보기
[named] BIND logging 설정 BIND logging 설정 [root@lamp ~]# cat /etc/named.logging.conf logging { channel "default_syslog" { // Send most of the named messages to syslog. syslog local2; severity debug; }; channel "default_syslog" { file "log/default.log" versions 3 size 20m; severity debug; print-category yes; print-severity yes; print-time yes; }; channel "general_syslog" { file "log/general.log" versions 3 size 20m; sever.. 더보기
[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.. 더보기

728x90
반응형