5
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

IBM Cloud Infrastructure (SoftLayer) でDNSのNSレコードを設定する

Posted at

経緯

IBM Cloud Infrastructure (SoftLayer)のDNSはポータルからレコードの編集ができますが、NSレコードは追加や更新ができません。すべてこのDNSで管理する分にはよいのですが、例えば外部のDNSにゾーン委任したい場合はNSレコードの追加が必要です。

image.png

方法

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.

以上です。

5
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?