開発者向けリファレンス

逆引きMX検索(廃止予定)

逆引きMX検索(廃止予定) APIのドキュメントで、リクエストパラメーター、レスポンスフィールド、コード例、DomScan連携のエラー処理を確認できます。

逆引きMX検索(廃止予定)

廃止予定: このエンドポイントは、過去の/v1/dns/all検索だけで作成されるベストエフォート方式の7日間インデックスを対象に、ホスト名の完全一致検索だけを行います。MXホストごとに直近10,000件まで保持します。APIはlimit件を評価してから、既定でapexドメインごとに1行を返します。インターネット全体を対象としたデータセットではありません。

GET /v1/reverse/mx

クエリパラメータ

パラメータタイプ説明
mx 必須 string 廃止予定のDomScanパッシブキャッシュで確認するメールサーバーの完全なホスト名(別名: mailserver、例: "aspmx.l.google.com")
match オプション string 照合モード。対応しているのはexactだけです。
include_apex_only オプション boolean true(既定値)の場合はapexドメインごとに1行を返します。観測したホスト名を保持するにはfalseを指定します。
limit オプション number apexドメインの重複除外を行う前に評価する、直近のインデックス項目の最大数。既定値: 100、最大値: 1000。

ユースケース

  • MX ホストに関する DomScan のキャッシュ済み観測を確認
  • メール基盤に関する過去の API 検索コンテキストを確認
  • 一致するドメインを DomScan が以前観測したか確認
  • 完全なデータセットではなく、限定的な旧式シグナルとして利用

リクエスト例

# Deprecated limited cache lookup for prior DomScan DNS observations
curl -H "X-API-Key: your-api-key" "https://domscan.net/v1/reverse/mx?mx=aspmx.l.google.com&limit=100"

# Deprecated limited cache lookup for another MX hostname
curl -H "X-API-Key: your-api-key" "https://domscan.net/v1/reverse/mx?mx=outlook.protection.outlook.com"

レスポンス例

{
  "query": {
    "mx": "aspmx.l.google.com",
    "match": "exact",
    "include_apex_only": true
  },
  "deprecated": true,
  "deprecation_notice": "This endpoint is deprecated. It only searches a best-effort seven-day passive index populated by prior /v1/dns/all lookups and capped at 10,000 recent entries per key. It is not an internet-wide reverse DNS dataset.",
  "results": [],
  "summary": {
    "total_found": 0,
    "returned": 0
  },
  "freshness_summary": {
    "source": "passive_dns",
    "cache_status": "passive_cache_only",
    "result_count": 0,
    "returned_count": 0,
    "apex_domain_count": 0,
    "apex_deduped_count": 0,
    "warnings": ["passive_cache_only", "no_cached_matches"]
  },
  "page": {
    "limit": 100,
    "next_cursor": null
  },
  "meta": {
    "source": "passive_dns",
    "note": "Best-effort seven-day index populated only by prior /v1/dns/all lookups"
  }
}

レスポンスフィールド

フィールド タイプ
query object
query.mx string
query.match string
query.include_apex_only boolean
deprecated boolean
deprecation_notice string
results[] object[]
results[] object
results[].domain string
results[].apex string
results[].mx string
results[].all_mx[] object[]
results[].all_mx[] object
results[].all_mx[].host string
results[].all_mx[].priority integer | null
results[].last_seen string | null
results[].reason object
results[].reason.type string
results[].reason.matched string
summary object
summary.total_found integer
summary.returned integer
freshness_summary object
freshness_summary.source string
freshness_summary.cache_status string
freshness_summary.result_count integer
freshness_summary.returned_count integer
freshness_summary.apex_domain_count integer
freshness_summary.apex_deduped_count integer
freshness_summary.warning_count integer
freshness_summary.warnings[] string[]
freshness_summary.last_seen_span_days integer | null
page object
page.limit integer
page.next_cursor string | null
meta object
meta.generated_at string
meta.source string
meta.query_time_ms integer
meta.note string
cache object
cache.hit boolean | null
cache.age_s integer | null
cache.ttl_s integer | null
cache.key string | null