| 機械翻訳のご利用について |
| 機械翻訳版 - January 31, 2006 |
| ライター翻訳版 - January 31, 2006 |
| 英語版 - January 31, 2006 |
| Document ID: 12601 |
目次
概要
前提条件
要件
使用するコンポーネント
表記法
DNS MX レコードを処理するための DistributedDirector の設定
タスク
手順説明
設定
MX レコードのテスト
show コマンド
トラブルシューティング
NetPro ディスカッション フォーラム:特集対話
関連情報
概要
ここでは、Cisco DistributedDirector(DD)でDomain Name System (DNS) Mail Exchange (MX)レコードを処理する場合の設定手順について説明します。
前提条件
要件
このドキュメントに関する特別な要件はありません。
使用するコンポーネント
このドキュメントの情報は、次のソフトウェアとハードウェアのバージョンに基づくものです。
-
DistributedDirector
-
Cisco IOS(R) ソフトウェア リリース 11.1(25)IA、12.0(7)T 以降
このドキュメントの情報は、特定のラボ環境にあるデバイスに基づいて作成されたものです。 このドキュメントで使用するすべてのデバイスは、クリアな(デフォルト)設定で作業を開始しています。 対象のネットワークが実稼働中である場合には、どのような作業についても、その潜在的な影響について確実に理解しておく必要があります。
表記法
ドキュメント表記の詳細は、『シスコ テクニカル ティップスの表記法』を参照してください。
DNS MX レコードを処理するための DistributedDirector の設定
タスク
このセクションでは、このドキュメントで説明する機能を設定するための情報を提供します。
手順説明
DNS MX レコードを処理するように DD を設定するには、次の手順を実行します。 コマンドの入力は、DDのグローバル 設定 モードから開始してください。
-
E メール サーバの IP アドレスに DNS 名をマッピングさせるアドレス レコード(A レコード)を作成します。
ip host host-name [additional] [tcp-port-number] address1 [address2...addressN] コマンドを発行します。
host-name は、Simple Mail Transfer Protocol(SMTP; シンプル メール転送プロトコル)サーバの名前です。 address1 は、SMTP サーバの IP アドレスです。 次に例を示します。
ip host smtp.testdomain.com 172.18.124.101
-
E メール(SMTP)サーバ名にドメインをマッピングさせる MX レコードを作成します。
ip host host-name mx preference target-host-name コマンドを発行します。
host-name は、E メールの対象となるドメインの DNS 名です。 preference は target-host-name のプリファレンスを設定するもので、target-host-name は SMTP サーバの DNS 名です。 次に例を示します。
ip host testdomain.com mx 10 smtp.testdomain.com
注: ステップ1および設定したい各SMTPサーバのためのステップ2を繰り返すことができます。 preference 番号を均等に設定すると、E メールサーバのロード バランスが計れます。
-
E メールの対象とするドメインの Start of Authority(SOA; 認証開始)レコードを作成します。
SOA レコードを作成するため ip dns primary domain soa primary contact [refresh [retry [expire [minimum]]]] コマンドを発行します。
domain は、E メールの対象となるドメインの DNS 名です。 primary は DD の DNS 名です。 contact は、アドミニストレータ ドメインのEメールです。<I> この例では、refresh、retry、expire、および minimum の値は、10800、3600、604800、および 86400 です。
ip dns primary testdomain.com soa dd.testdomain.com admin.testdomain.com 10800 3600 604800 86400
注: このコマンドは 1 行に収める必要があります。
-
他の DNS キャッシュにある、ドメインの MX レコードの Time to Live(TTL; 存続可能時間)の最大値を設定します。
IPディレクターホスト[aを発行して下さい | mx]ホスト名TTL秒コマンド。
host-name は、E メールの対象となるドメインの DNS 名です。 次に例を示します。
ip director hosts testdomain.com mx ttl 43200
-
他の DNS キャッシュにある、SMTP サーバの MX レコードの Time to Live(TTL; 存続可能時間)の最大値を設定します。
IPディレクターホスト[aを発行して下さい | mx]ホスト名TTL秒コマンド。
host-name は SMTP サーバの DNS 名です。 次に例を示します。
ip director hosts smtp.testdomain.com ttl 43200
設定
|
DistributedDirector |
|---|
43-dd2500#show running-config Building configuration... Current configuration : 1344 bytes ! version 12.1 service timestamps debug uptime service timestamps log uptime no service password-encryption service udp-small-servers service tcp-small-servers ! hostname 43-dd2500 ! enable password XX ! ! ! ! ! ip subnet-zero ip host smtp.testdomain.com 172.18.124.101 ip host testdomain.com mx 10 smtp.testdomain.com ip domain-name cisco.com ip name-server 161.44.21.250 ! ! ! ! interface Ethernet0 ip address 10.27.2.7 255.255.255.0 ! interface Serial0 no ip address shutdown ! interface Serial1 no ip address shutdown ! ip classless ip route 0.0.0.0 0.0.0.0 10.27.2.1 no ip http server ip dns primary testdomain.com soa dd.testdomain.com admin.testdomain.com 10800 3600 604800 86400 ! no ip director cache ip director hosts testdomain.com MX ttl 43200 ip director hosts smtp.testdomain.com ttl 43200 ! line con 0 transport input pad v120 telnet rlogin udptn line aux 0 line vty 0 4 password XX login ! end |
MX レコードのテスト
このセクションでは、設定が正常に動作しているかどうかを確認する際に役立つ情報を示しています。
特定の show コマンドは、アウトプットインタープリタ(登録ユーザ専用)によってサポートされています。これにより、show コマンド出力の分析を表示できます。
方法の例はnslookupセットtype=を使用してMXレコードをテストするここにあります[ | mx]ホスト名コマンド:
D:\> nslookup Default Server: [10.27.2.7] !--- This is the IP address of the DD. Address: 10.27.2.7 > set type=any !--- This part of the command checks the data return for the domain. !--- The data are any record type. > testdomain.com Server: [10.27.2.7] Address: 10.27.2.7 testdomain.com MX preference = 10, mail exchanger = smtp.testdomain.com testdomain.com primary name server = dd.testdomain.com responsible mail addr = admin.testdomain.com serial = 2939936458 refresh = 10800 (3 hours) retry = 3600 (1 hour) expire = 604800 (7 days) default TTL = 86400 (1 day) > > smtp.testdomain.com !--- This part of the command checks the A record for the SMTP server. Server: [10.27.2.7] Address: 10.27.2.7 smtp.testdomain.com internet address = 172.18.124.101 > set type=mx !--- This part of the command checks the MX record for only the domain !--- in question. > testdomain.com Server: [10.27.2.7] Address: 10.27.2.7 testdomain.com MX preference = 10, mail exchanger = smtp.testdomain.com smtp.testdomain.com internet address = 172.18.124.101 >
show コマンド
DD で show ip director hosts コマンドを発行した場合の出力例を次に示します。
43-dd2500#show ip director hosts Host testdomain.com (MX queries): TTL for DNS replies is 43200 Servers: Server 172.18.124.101: Advertised 0 times, last at 00:00:00 Default preference: 10 Default portionhits: 0 Host smtp.testdomain.com (A queries): TTL for DNS replies is 43200 Servers: Server 172.18.124.101: Advertised 0 times, last at 00:00:00 Default preference: 10 Default portionhits: 0
コマンドの詳細については、『Cisco IOS リリース 11.1(25)IA 対応の DistributedDirector 拡張』の「コマンド リファレンス」セクションを参照してください。
トラブルシューティング
現在のところ、この設定に関する特定のトラブルシューティング情報はありません。
NetPro ディスカッション フォーラム:特集対話
| NetPro ディスカッション フォーラム:CDN に関する特集対話 |
| 新興テクノロジー: コンテント ネットワーキング |
関連情報
- Cisco IOS Release 11.1(25)IAでのDistributedDirectorの拡張機能
- Cisco DistributedDirector の製品文献
- テクニカル サポート - シスコシステムズ
