목록분류 전체보기 (1395)
변군이글루(Mirror)

named(bind) zone file ip change scripte vim ipswap.sh #!/bin/bash for files in `ls /var/named/aa04` do sed "s/10.0.10.124/192.168.0.20/g" $files > /tmp/named/aa04/$files done

CentOS 7에서 BIND(named)에 GeoIP 기능을 설정하여 사용하는 방법1. BIND 설치 확인 및 GeoIP 패키지 설치sudo yum install -y epel-releasesudo yum install -y zlib-devel openssl-develBIND 설치BIND와 관련된 패키지를 설치해야 합니다.sudo yum install -y install bind bind-utilsGeoIP 라이브러리 설치GeoIP 데이터베이스를 사용하려면 MaxMind의 GeoIP 라이브러리를 설치해야 합니다.sudo yum install -y GeoIP GeoIP-devel2. MaxMind GeoIP 데이터베이스 다운로드MaxMind에서 제공하는 GeoIP Legacy 데이터베이스를 사용하여 지역별..

DNS 서버 설정 파일과 실행 파일을 백업하는 스크립트vim dns_backup.sh#!/bin/bashset -x# 백업 디렉토리 이름 설정backup_dir="fvm01.scbyun.com-$(date +%Y%m%d)"# 백업 디렉토리 및 하위 디렉토리 생성cd /root/.nl/mkdir "$backup_dir"mkdir "$backup_dir/sbin"mkdir "$backup_dir/etc"# 필요한 파일 복사cp -rpf /var/named "$backup_dir"cp /etc/named.conf "$backup_dir/etc"cp /etc/named.logging.conf "$backup_dir/etc"cp /etc/named.root.key "$backup_dir/etc"cp /etc/na..

How to Install python 3.7 on CentOS 7 Step 1 — Install Prerequisites yum install gcc openssl-devel bzip2-devel libffi-devel Step 2 — Download Python 3.x cd /usr/local/src/ wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz tar xfz Python-3.7.2.tgz Step 3 — Install Python3.x cd Python-3.7.2 ./configure --enable-optimizations make altinstall Step 4 — Using Python 3.x ./python --version ..

python 예약어 키워드(keyword) import keyword keyword.kwlist >>> import keyword >>> keyword.kwlist ['False', 'None', 'True', 'and', 'as', 'assert', 'async', 'await', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield'] 내장함수(built..

윈도우 10에서 한컴 입력기를 삭제하는 방법한컴 입력기는 한글과컴퓨터에서 제공하는 한국어 입력기이며 필요하지 않은 경우 삭제할 수 있습니다.원도우 버전 확인winver한컴 입력기 삭제 설정 > 시간 및 언어 > 언어 > 한국어 > 옵션 언어 옵션: 한국어 > 한컴 입력기 > 삭제원도우11 한컴 입력기 삭제설정 > 시간 및 언어 > 입력 > 관련 설정 > 언어 및 지역 > 언어 > 한국어 > 언어 옵션 > 키보드

bind rndc(rndc.conf) 설정 및 rndc 명령 rndc reload rndc reload $ rndc reload server reload successful rndc statsus rndc status $ rndc status version: BIND 9.18.1-1ubuntu1.2-Ubuntu (Stable Release) (byunsangchul) running on vamocha-prod-gitlab-01: Linux x86_64 5.15.0-1019-aws #23-Ubuntu SMP Wed Aug 17 18:33:13 UTC 2022 boot time: Wed, 23 Nov 2022 02:19:36 GMT last configured: Wed, 23 Nov 2022 04:04:01..