차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
dns [2021/05/15 07:27] – koov | dns [2021/05/18 01:33] (현재) – [HOST 선언방법] koov | ||
---|---|---|---|
줄 45: | 줄 45: | ||
bind-dynamic | bind-dynamic | ||
bogus-priv | bogus-priv | ||
- | domain=ocp.example.com | + | |
+ | domain=ocp.example.com, | ||
+ | auth-zone=ocp.example.com, | ||
# 자체 서비스 할 도메인 설정 (업스트림으로 넘기지 않음) | # 자체 서비스 할 도메인 설정 (업스트림으로 넘기지 않음) | ||
local=/ | local=/ | ||
+ | local=/ | ||
# 바인딩 NIC | # 바인딩 NIC | ||
줄 61: | 줄 64: | ||
# host list file | # host list file | ||
addn-hosts=/ | addn-hosts=/ | ||
+ | |||
+ | # upstream DNS | ||
+ | server=8.8.8.8 | ||
+ | server=8.8.4.4 | ||
+ | # upstream resolve | ||
+ | resolv-file=/ | ||
# wildcard address | # wildcard address | ||
address=/ | address=/ | ||
- | # normally host | + | # normally host (reverse not work) |
address=/ | address=/ | ||
address=/ | address=/ | ||
+ | |||
+ | # A, AAAA, PTR definition (reverse lookup work) | ||
+ | host-record=bootstrap, | ||
+ | host-record=api, | ||
+ | host-record=api-int, | ||
+ | |||
</ | </ | ||
</ | </ | ||
줄 125: | 줄 140: | ||
# listen interface | # listen interface | ||
interface=eth2 | interface=eth2 | ||
+ | # 특정 NIC는 DHCP안함 | ||
+ | no-dhcp-interface=ens192 | ||
# DHCP MAC Address 기반 hostname, IP할당 설정. | # DHCP MAC Address 기반 hostname, IP할당 설정. |