4620297
ORCL
3
버전 비교
비교대상
키
- 이 줄이 추가되었습니다.
- 이 줄이 삭제되었습니다.
- 서식이 변경되었습니다.
Image Added
Image AddedImage Removed
Image Removed
Image Added
Image Removed
Image AddedImage Removed
Image Added
Image Removed
Image AddedImage Removed
Image Added
Image Removed
Image AddedImage Removed
Image Added
Image Removed
Image AddedImage Removed
Image Added
Image Removed
Image AddedImage Removed
Image Added
Image Removed
Image AddedImage Removed
Image Added
Image Removed
Image AddedImage Removed
Image Added
Image Removed
Image AddedImage Removed
Image Added
Image Removed
Image AddedImage Removed
Image Added
Image Removed
Image AddedImage Removed
Image Added
Image Removed
Image AddedImage Removed
Image Added
Image Removed
Image Added
| 코드 블럭 | ||||||
|---|---|---|---|---|---|---|
| ||||||
hostnamectl status hostnamectl set-hostname dns hostnamectl status |
| 펼치기 |
|---|
| 코드 블럭 |
|---|
systemctl stop firewalld
systemctl disable firewalld
systemctl stop avahi-daemon.socket
systemctl disable avahi-daemon.socket
systemctl stop avahi-daemon
systemctl disable avahi-daemon
systemctl stop libvirtd
systemctl disable libvirtd |
| 서식 미적용 |
|---|
[root@dns ~]# systemctl stop firewalld
[root@dns ~]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@dns ~]# systemctl stop avahi-daemon.socket
Job for avahi-daemon.socket canceled.
[root@dns ~]# systemctl disable avahi-daemon.socket
Removed symlink /etc/systemd/system/sockets.target.wants/avahi-daemon.socket.
[root@dns ~]# systemctl stop avahi-daemon
Warning: Stopping avahi-daemon.service, but it can still be activated by:
avahi-daemon.socket
[root@dns ~]# systemctl disable avahi-daemon
Removed symlink /etc/systemd/system/multi-user.target.wants/avahi-daemon.service.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.Avahi.service.
[root@dns ~]# systemctl stop libvirtd
[root@dns ~]# systemctl disable libvirtd
Removed symlink /etc/systemd/system/multi-user.target.wants/libvirtd.service.
Removed symlink /etc/systemd/system/sockets.target.wants/virtlogd.socket.
Removed symlink /etc/systemd/system/sockets.target.wants/virtlockd.socket. |
| 코드 블럭 |
|---|
rpm -ivh python-ply-3.4-11.el7.noarch.rpm
rpm -ivh bind-license-9.9.4-72.el7.noarch.rpm
rpm -Uvh bind-utils-9.9.4-72.el7.x86_64.rpm bind-libs-9.9.4-72.el7.x86_64.rpm
rpm -ivh bind-9.9.4-72.el7.x86_64.rpm
rpm -ivh bind-chroot-9.9.4-72.el7.x86_64.rpm |
| 서식 미적용 |
|---|
[root@dns Packages]# rpm -ivh python-ply-3.4-11.el7.noarch.rpm
경고: python-ply-3.4-11.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
준비 중... ################################# [100%]
Updating / installing...
1:python-ply-3.4-11.el7 ################################# [100%]
[root@dns Packages]# rpm -ivh bind-license-9.9.4-72.el7.noarch.rpm
경고: bind-license-9.9.4-72.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
준비 중... ################################# [100%]
Updating / installing...
1:bind-license-32:9.9.4-72.el7 ################################# [100%]
[root@dns Packages]# rpm -Uvh bind-utils-9.9.4-72.el7.x86_64.rpm bind-libs-9.9.4-72.el7.x86_64.rpm
경고: bind-utils-9.9.4-72.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
준비 중... ################################# [100%]
Updating / installing...
1:bind-libs-32:9.9.4-72.el7 ################################# [ 25%]
2:bind-utils-32:9.9.4-72.el7 ################################# [ 50%]
Cleaning up / removing...
3:bind-utils-32:9.9.4-61.el7 ################################# [ 75%]
4:bind-libs-32:9.9.4-61.el7 ################################# [100%]
[root@dns Packages]# rpm -ivh bind-9.9.4-72.el7.x86_64.rpm
경고: bind-9.9.4-72.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
준비 중... ################################# [100%]
Updating / installing...
1:bind-32:9.9.4-72.el7 ################################# [100%]
[root@dns Packages]# rpm -ivh bind-chroot-9.9.4-72.el7.x86_64.rpm
경고: bind-chroot-9.9.4-72.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
준비 중... ################################# [100%]
Updating / installing...
1:bind-chroot-32:9.9.4-72.el7 ################################# [100%]
|
|
| 코드 블럭 | ||||||
|---|---|---|---|---|---|---|
| ||||||
systemctl stop firewalld
systemctl disable firewalld |
| 펼치기 | ||
|---|---|---|
|
| 코드 블럭 | ||||||
|---|---|---|---|---|---|---|
| ||||||
cd <리눅스 설치 디스크 마운트 경로>/Packages
rpm -ivh python-ply-*.noarch.rpm
# rpm -ivh bind-license-*.el7.noarch.rpm
# rpm -Uvh bind-utils-*.x86_64.rpm bind-libs-*.x86_64.rpm
rpm -ivh bind-*.el7.x86_64.rpm
rpm -ivh bind-chroot-*.x86_64.rpm
cd
eject |
| 펼치기 | ||
|---|---|---|
|
| 코드 블럭 | ||||||
|---|---|---|---|---|---|---|
| ||||||
/usr/libexec/setup-named-chroot.sh /var/named/chroot on
systemctl stop named
systemctl disable named
systemctl start named-chroot
systemctl enable named-chroot |
| 펼치기 | ||
|---|---|---|
|
| 코드 블럭 | ||||
|---|---|---|---|---|
| ||||
// listen-on port 53 { 127.0.0.1; };
listen-on port 53 { 127.0.0.1; 10.0.1.150; };
// allow-query { localhost; };
allow-query { localhost; 10.0.1.0/24; }; |
| 펼치기 | ||
|---|---|---|
|
| 코드 블럭 | ||||
|---|---|---|---|---|
| ||||
zone "localdomain." IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "1.0.10.in-addr.arpa." IN {
type master;
file "1.0.10.in-addr.arpa";
allow-update { none; };
}; |
| 펼치기 | ||
|---|---|---|
|
| 코드 블럭 | ||||
|---|---|---|---|---|
| ||||
$TTL 86400
@ IN SOA localhost root.localhost (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
|
| 코드 블럭 |
|---|
/usr/libexec/setup-named-chroot.sh /var/named/chroot on
systemctl stop named
systemctl disable named
systemctl start named-chroot
systemctl enable named-chroot |
| 서식 미적용 |
|---|
[root@dns ~]# /usr/libexec/setup-named-chroot.sh /var/named/chroot on
[root@dns ~]# systemctl stop named
[root@dns ~]# systemctl disable named
Removed symlink /etc/systemd/system/multi-user.target.wants/named.service.
[root@dns ~]# systemctl start named-chroot
[root@dns ~]# systemctl enable named-chroot
Created symlink from /etc/systemd/system/multi-user.target.wants/named-chroot.service to /usr/lib/systemd/system/named-chroot.service. |
| 코드 블럭 | ||||
|---|---|---|---|---|
| ||||
// listen-on port 53 { 127.0.0.1; };
listen-on port 53 { 127.0.0.1; 10.0.1.150; };
// allow-query { localhost; };
allow-query { 10.0.1.0/24; }; |
| 코드 블럭 | ||||
|---|---|---|---|---|
| ||||
zone "localdomain." IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "1.0.10.in-addr.arpa." IN {
type master;
file "1.0.10.in-addr.arpa";
allow-update { none; };
}; |
| 코드 블럭 | ||||
|---|---|---|---|---|
| ||||
$TTL 86400 @ IN SOA localhost root.localhost ( 1W ; expiry 42 ; serial (d.1D adams) ; minimum IN NS localhost localhost 3H IN A ; refresh 127.0.0.1 rac-scan IN A 10.0.1.191 rac-scan IN A 10.0.1.192 rac-scan IN A 15M ; retry 10.0.1.193 |
| 코드 블럭 | ||||
|---|---|---|---|---|
| ||||
$ORIGIN 1.0.10.in-addr.arpa. $TTL 1H @ IN SOA dns.localdomain. root.dns.localdomain. ( 2 3H 1W ; expiry1H 1W 1D1H ) ; minimum IN NS localhost localhost IN A 127.0.0.1 rac-scan IN A 10.0.1.191 rac-scan 1.0.10.in-addr.arpa. IN NS dns.localdomain. 191 IN PTR rac-scan.localdomain. 192 IN PTR rac-scan.localdomain. 193 IN PTR rac-scan.localdomain. |
| 코드 블럭 | ||||||
|---|---|---|---|---|---|---|
| ||||||
chown root:named /var/named/chroot/var/named/localdomain.zone
chown root:named /var/named/chroot/var/named/1.0.10.in-addr.arpa
systemctl restart named-chroot |
| 펼치기 | ||
|---|---|---|
|
| 코드 블럭 | ||||||
|---|---|---|---|---|---|---|
| ||||||
nslookup rac-scan.localdomain nslookup 10.0.1.191 nslookup IN A 10.0.1.192 rac-scan nslookup 10.0.1.193 |
| 펼치기 | ||||||
|---|---|---|---|---|---|---|
| ||||||
| 코드 블럭 | ||||||
| ||||||
$ORIGIN 1.0.10.in-addr.arpa.
$TTL 1H
@ IN SOA dns.localdomain. root.dns.localdomain. ( 2
| ||||||
| 코드 블럭 | ||||||
chown root:named /var/named/chroot/var/named/localdomain.zone
chown root:named /var/named/chroot/var/named/
| ||||||
| 펼치기 | ||||||
| ||||||
| 코드 블럭 | ||||||
nslookup
| ||||||
|
{}