Domain dashboard prints nameservers derived from the request host
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
domains/views.py の DomainDetailView.get_context_data を読み、表示されるネームサーバーを verify_nameserver_delegation および RELAY_DNS_NS_NAMESERVERS と比較します。Issue では不一致とその影響が説明されています。ダッシュボードに設定済みのネームサーバーが表示され、手順が検証チェックと一致すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The domain dashboard prints nameservers derived from the request host. The nameserver check compares against the configured list, so the page and the check can disagree.
Found during the review of codingjoe-simplify-domain-dns-setup (commits b2193e39, ede5014c).
side quest: delegation NS records shown to operators are derived from the request Host header (ns1.<Host>) instead of RELAY_DNS_NS_NAMESERVERS, so a spoofed/aliased Host yields wrong NS values to publish. [domains/views.py:65]
DomainDetailView.get_context_data renders ns1.<request host> and ns2.<request host>. verify_nameserver_delegation compares against RELAY_DNS_NS_NAMESERVERS. On a deployment where those differ, the dashboard tells the operator to publish nameservers that the check will reject. The verify click then fails with no explanation of the mismatch.
Using the configured nameservers for display keeps the instructions and the check in step.
- 主要言語
- Python
- スター
- 4
- フォーク
- 0
- 平均マージ
- 2時間 40分
- マージ済み PR(30日)
- 163
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codingjoe/relay のほかの issue
-
enhancement real sec
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
codingjoe/relay#410 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug side quest
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
bug side quest
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
side quest test
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
side quest test
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
codingjoe/relay の issue をすべて見る
似ている issue
-
ready-for-agent tooling
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
KRoperUK/smeg-plus-patches#249 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
monzta1/ToneCommand#293 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
oracle/graalvm-reachability-metadata#11318 ·
メンテナーはふだん 1 日以内に返信
-
area: parser bug difficulty: easy
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
hayagrivai-labs/phantom#150 ·
メンテナーはふだん 1 日以内に返信
-
difficulty: easy good first issue help wanted mentor available testing
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
hayagrivai-labs/sciproof#179 ·
メンテナーはふだん 1 日以内に返信