Cisco routers how to specify DNS

Source: Internet
Author: User
Tags config domain server mx record port number

R1 (config) #ip DNS server

(Make router ' a DNS server ')

R1 (config) #ip host?

WORD Name of Host

R1 (config) #ip host R1?

<0-65535> Default telnet port number

A.B.C.D Host IP Address

Additional Append addresses

MX Configure a MX record

NS Configure an NS record

SRV Configure a SRV record

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Network/lyjs/

R1 (config) #ip host R1 192.168.1.1

R1 (config) #ip host R2 192.168.1.2

(On the DNS server, create ' parse entries ')

R2 (config) #ip name-server 192.168.1.1

(Set DNS server, point to DNS server IP)

R2#telnet R1

(Execute telnet command for detection)

Translating "r1" ... domain server (192.168.1.1) [OK]

Trying R1 (192.168.1.1) ... Open

User Access Verification

Password:

r1>en

Password:

r1#

(Connection success, that is, ' parse ' success;

The prerequisite is that you must set the ' Enable password and vty password ';

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.