IBM Cloud Infrastructure (SoftLayer)에서 DNS NS 레코드 설정

1678 단어 ibmcloudSoftLayerdns

경위



IBM Cloud Infrastructure(SoftLayer)의 DNS는 포털에서 레코드를 편집할 수 있지만 NS 레코드는 추가하거나 업데이트할 수 없습니다. 이 DNS로 모두 관리하는 것이 좋습니다. 예를 들어 외부 DNS에 영역 위임을 원한다면 NS 레코드를 추가해야합니다.



방법



slcli를 사용하여 추가 할 수있었습니다.

현재 상태 확인
$ slcli dns zone-print xxxxx.com
$ORIGIN xxxxx.com.
$TTL 900
@ IN SOA ns1.softlayer.com. support.softlayer.com. (
                       2018092807        ; Serial
                       7200              ; Refresh
                       600               ; Retry
                       1728000           ; Expire
                       43200)            ; Minimum

@                      86400    IN NS    ns1.softlayer.com.
@                      86400    IN NS    ns2.softlayer.com.

NS 레코드 추가
$ slcli dns record-add xxxxx.com サブドメイン NS 委任先DNS
(例) slcli dns record-add xxxxx.com yyyyy NS ns000.hoge.com.


추가 후 확인
$ slcli dns zone-print xxxxx.com
$ORIGIN xxxxx.com.
$TTL 900
@ IN SOA ns1.softlayer.com. support.softlayer.com. (
                       2018092807        ; Serial
                       7200              ; Refresh
                       600               ; Retry
                       1728000           ; Expire
                       43200)            ; Minimum

@                      86400    IN NS    ns1.softlayer.com.
@                      86400    IN NS    ns2.softlayer.com.
yyyyy                  7200     IN NS    ns000.hoge.com.

이상입니다.

좋은 웹페이지 즐겨찾기