티스토리 뷰
http://bindguard.activezone.de/
rpm 버젼에다가 설치해봤음
vi named.conf 수정
options { // BINDGUARD 설정 [ 시작 ] blackhole { "bogon"; }; // BINDGUARD 설정 [ 끝 ] listen-on port 53 { any; }; listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; // Those options should be used carefully because they disable port // randomization // query-source port 53; // query-source-v6 port 53; version "kensei nameserver"; allow-query { any; }; allow-query-cache { localhost; }; allow-transfer { 127.0.0.1; }; recursion no; // allow-recursion {127.0.0.1;}; }; logging { channel querylog { file "/var/log/queries"; severity debug 1; print-time yes; }; category queries { querylog; }; channel default_debug { file "data/named.run"; severity dynamic; }; }; view localhost_resolver { match-clients { any; }; match-destinations { any; }; recursion no; include "/etc/named.rfc1912.zones"; }; include "/etc/bogon.conf"; |
vi /var/named/chroot/etc/bogon.conf (없으면 생성해준다)
acl "bogon" { 192.168.0.1; 192.168.0.2; }; |
192.168.0.1 ~ 2 는 차단하겠다는 의미 (53번 포트만)
'Linux' 카테고리의 다른 글
nameserver 네임서버의 이해 (그림) (0) | 2015.05.20 |
---|---|
nameserver 설정 예제 (Sulinux) (0) | 2015.05.20 |
dnssec (0) | 2015.05.20 |
네임서버(nameserver) 셋팅 및 운영 (0) | 2015.05.20 |
nginx 설치 (ver. 1.18) (0) | 2015.05.07 |
- Total
- Today
- Yesterday
- pptp
- Apache
- L2TP
- MySQL
- IPSEC
- kvm
- mod_security
- centos8
- centOS7
- ssh
- 인증서
- WAF
- mariadb
- gitlab
- glusterfs
- ntp
- GeoIP
- galera
- HAProxy
- NGINX
- php
- OpenVPN
- cURL
- yum
- SSL
- 베이어다이나믹
- iptables
- 리눅스
- virtualbox
- softether
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |