# Use with the following in named.conf, adjusting the allow list as needed: # key “rndc-key” { # algorithm hmac-md5; # secret “597mv7NU7YxzHaMGVAsv4w==”; # }; # # controls { # inet 127.0.0.1 port 953 # allow { 127.0.0.1; } keys { “rndc-key”; }; # }; # End of named.conf
[root@NS1 sbin]# ./rndc status version: BIND 9.10.3 <id:2799933> boot time: Wed, 25 Nov 2015 08:11:20 GMT last configured: Wed, 25 Nov 2015 08:11:20 GMT CPUs found: 1 worker threads: 1 UDP listeners per interface: 1 number of zones: 102 debug level: 0 xfers running: 0 xfers deferred: 0 soa queries in progress: 0 query logging is OFF recursive clients: 0/0/1000 tcp clients: 0/100 server is up and running
nsupdate 이후에 jnl파일에 있는 내용을 존파일에 바로 넣기
[root@NS1 sbin]# nsupdate > server 10.0.0.11 > update add book.my-domain.re.kr. 180 IN A 10.0.0.234 > show Outgoing update query: ;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 0 ;; flags: ; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0 ;; UPDATE SECTION: book.my-domain.re.kr. 180 IN A 10.0.0.234