본문 바로가기
Network

끊김없이 네임서버 이전(교체)하기

by 세계정보ㄱ 2022. 3. 18.
728x90
반응형

1. 서버이전 하루전에 전체 도메인 TTL값을 3600 로 설정

* TTL값 조정후 하루지난 후 TTL값이 3600으로 변경된 것 확인 후 작업

# nslookup
> set debug
> set querytype=SOA
> google.com
Server:         164.124.101.2
Address:        164.124.101.2#53

------------
    QUESTIONS:
        google.com, type = SOA, class = IN
    ANSWERS:
    ->  google.com
        origin = ns1.google.com
        mail addr = dns-admin.google.com
        serial = 434999160
        refresh = 900
        retry = 900
        expire = 1800
        minimum = 60
        ttl = 60
    AUTHORITY RECORDS:
    ADDITIONAL RECORDS:
------------
Non-authoritative answer:
google.com
        origin = ns1.google.com
        mail addr = dns-admin.google.com
        serial = 434999160
        refresh = 900
        retry = 900
        expire = 1800
        minimum = 60


2. 이전할 서버에 zone파일을 모두 백업 후 변경될 정보로 설정

3. 이전할 서버의 IP가 정상적으로 질의응답하는지 테스트

# nslookup
> server 8.8.8.8
Default server: 8.8.8.8
Address: 8.8.8.8#53
> google.com
Server:         8.8.8.8
Address:        8.8.8.8#53

Non-authoritative answer:
Name:   google.com
Address: 172.217.161.78
Name:   google.com
Address: 2404:6800:4004:80b::200e


4. ns.domain.com ns2.domain.com의 호스트 정보를 변경하여 줍니다. 

5. domain.com의 네임서버를 변경하여 줍니다. 

6. 충분한 시간동안 모니터링 후 기존 서버 Down

728x90
반응형

'Network' 카테고리의 다른 글

Apache DOS 보호 모듈 mod_evasive  (0) 2022.04.04
GeoIP  (0) 2013.08.05
PHP Zend Guard Loader 설치  (0) 2013.08.05
Apache mod_cband 설치/설정  (0) 2013.08.05
홈페이지 포워딩 방법  (0) 2013.08.05