bind config - GunSik2/experiments GitHub Wiki
설치
sudo apt-get install bind9
설정
#ubuntu@ip-172-31-25-6:~$ sudo cat /etc/bind/named.conf.local
zone "bosh-lite.com" {
type master;
file "/etc/bind/bosh-lite.com";
};
#sudo cat /etc/bind/bosh-lite.com
$TTL 604800
@ IN SOA ns.bosh-lite.com. root.bosh-lite.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS ns.bosh-lite.com.
@ IN A 52.90.xx.xxx ; HA Proxy VM IP 주소
* IN A 52.90.xx.xxx ; HA Proxy VM IP 주소