Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hijiki51 committed Jan 1, 2023
1 parent bb9f98d commit ba7d792
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
2 changes: 1 addition & 1 deletion dns-1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ DNSへのリクエストには`dig`コマンドを用います。

***

[解答を見る](../solutions/dhcp/README.md)
[解答を見る](../solutions/dns-1/README.md)

[TOPへ](../README.md)
5 changes: 5 additions & 0 deletions dns-2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- [リソースレコード](#リソースレコード)
- [Assignment](#assignment)
- [1. サブドメインを移譲してみよう](#1-サブドメインを移譲してみよう)
- [2. サブドメインを移譲されてみよう](#2-サブドメインを移譲されてみよう)

## Lesson

Expand Down Expand Up @@ -63,6 +64,10 @@
「bind9 dns delegation」などで調べるといいでしょう。
</details>

### 2. サブドメインを移譲されてみよう
`{あなたの traQ ID}.{相手の traQ ID}`のレコードを相手のネームサーバーから移譲してもらいましょう
移譲ができたらきちんと名前解決できるか確かめてみましょう


***

Expand Down
22 changes: 6 additions & 16 deletions dns-3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,40 +40,30 @@
4. それ以外の結果(エラー)が帰ってきた場合、そのネームサーバーを選択したネームサーバー群から除外し、3.に戻る

このようにフルリゾルバとスタブリゾルバを分離することで、キャッシュを共有することができるようになり、より効率的に名前解決を行うことができます。

**[INFO]**
- bind9にはフルリゾルバの機能もあります
## Assignment

### 1. フルリゾルバを立ててみよう
フルリゾルバを立てて、ルートネームサーバーに問い合わせを行うように設定してみよう。
ルートネームサーバーに問い合わせを行うように設定してみよう。
<details>
<summary>ヒント1</summary>
`named.conf.default-zones`を見るといいでしょう
</details>

<details>
<summary>ヒント2</summary>
`bind9 ルートネームサーバー 設定`などで調べるといいでしょう
</details>

<details>
<summary>ヒント3</summary>

</details>

### 2. リゾルバを使って名前解決してみよう
1.で立てたリゾルバをつかってs1~s3のサーバーのいずれかから名前解決をしてみて下さい。
1.で立てたフルリゾルバをつかってs1~s3のサーバーのいずれかから名前解決をしてみて下さい。
<details>
<summary>ヒント</summary>
スタブリゾルバの設定は`/etc/resolv.conf`に書くことができます。
</details>

<!-- <details>
<summary>ヒント2</summary>
r4にはフルリゾルバがないので、立てたフルリゾルバに向けて`DNS forwarding`を行う必要があります。
</details>
<details>
<summary>ヒント3</summary>
「Vyos DNS Forwarding」等で調べるといいでしょう。
</details> -->


***
Expand Down

0 comments on commit ba7d792

Please sign in to comment.