LoginSignup
0
2

More than 5 years have passed since last update.

ネームサーバでちょい詰まりした(FQDNというものを知らなかった)

Posted at

したかったこと

hello.example.comに来たリクエストを
outside.testに送りたかった。
(hello.example.com -> outside.test)

問題発生から解決

example.comのネームサーバのコンフィグをこう書いた

hello CNAME outside.test

起こったこと

hello.example.com -> outside.test.example.com

こう直したらokだった

hello CNAME outside.test.

どういうこった

outside.test

これは相対的なドメインの書き方で、それがexample.comのなかにあったもんだからoutside.test.example.comなんてドメインになってしまった。

outside.test.

FQDN(Fully Qualified Domain Name(完全修飾ドメイン名))で書く必要があった。

同じコンフィグ内に書かれているレコードをみて、おしりにピリオド打てばいんだろうなとは気づいていたんだけども、
おしりのピリオドをなんて言えばいいのかわからず検索がつらかった。

0
2
0

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
0
2