10.2. DNS 서비스 풀 구성 내보내기


DNS 풀 구성 사본을 사용하여 RHOSP(Red Hat OpenStack Platform) DNS 서비스(designate) 문제를 해결할 수 있습니다.

참고

RHOSP 17.1에서는 여러 풀이 지원되지 않습니다.

프로세스

  1. 컨트롤러 노드 중 하나에 로그인하고 현재 실행 중인 DNS 서비스 풀 구성을 콘솔에 표시합니다.

    예제

    이 예에서 관리자는 SSH를 통해 tripleo-admin 사용자로 SSH를 통해 컨트롤러 노드 controller-0.ctlplane 에 액세스하고 designate_central 컨테이너에서 실행되는 designate-manage pool show_config 명령을 실행합니다.

    $ ssh tripleo-admin@controller-0.ctlplane sudo podman exec \
    designate_central designate-manage pool show_config

    샘플 출력

    Pool Configuration:
    -------------------
    also_notifies: []
    attributes: {}
    description: Default Pool
    id: 794ccc2c-d751-44fe-b57f-8894c9f5c842
    name: default
    nameservers:
    - host: 192.0.2.111
      port: 53
    - host: 192.0.2.109
      port: 53
    - host: 192.0.2.131
      port: 53
    ns_records:
    - hostname: ns2.example.com.
      priority: 2
    - hostname: ns1.example.com.
      priority: 1
    - hostname: ns3.example.com.
      priority: 3
    targets:
    - description: BIND9 Server 3
      masters:
      - host: 192.0.2.137
        port: 16002
      - host: 192.0.2.137
        port: 16001
      - host: 192.0.2.137
        port: 16000
      options:
        host: 192.0.2.111
        port: '53'
        rndc_config_file: /etc/designate/private/bind3.conf
        rndc_host: 192.0.2.111
        rndc_port: '953'
      type: bind9
    - description: BIND9 Server 2
      masters:
      - host: 192.0.2.137
        port: 16001
      - host: 192.0.2.137
        port: 16002
      - host: 192.0.2.137
        port: 16000
      options:
        host: 192.0.2.131
        port: '53'
        rndc_config_file: /etc/designate/private/bind2.conf
        rndc_host: 192.0.2.131
        rndc_port: '953'
      type: bind9
    - description: BIND9 Server 1
      masters:
      - host: 192.0.2.137
        port: 16002
      - host: 192.0.2.137
        port: 16001
      - host: 192.0.2.137
        port: 16000
      options:
        host: 192.0.2.109
        port: '53'
        rndc_config_file: /etc/designate/private/bind1.conf
        rndc_host: 192.0.2.109
        rndc_port: '953'
      type: bind9

  2. 현재 풀 구성을 파일로 내보내려면 designate-manage pool generate_file 명령을 사용합니다.

    예제

    이 예에서 관리자는 SSH를 통해 tripleo-admin 사용자로 SSH를 통해 컨트롤러 노드 controller-0.ctlplane 에 액세스하고 designate_central 컨테이너에서 실행 중인 designate-manage pool generate_file --file <file_name > 명령을 실행합니다. DNS 서비스는 현재 풀 구성을 --file 옵션에 의해 지정된 파일(이 예에서 ~/my_dns_service_config.yaml )으로 내보냅니다.

    $ ssh tripleo-admin@controller-0.ctlplane sudo podman exec \
    designate_central designate-manage pool generate_file \
    --file ~/my_dns_service_config.yaml
    작은 정보

    podman cp 명령을 사용하여 컨테이너에서 로컬 시스템으로 파일을 복사합니다.

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동