• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Phân biệt 2 câu lệnh ip name-server và dns-server

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Phân biệt 2 câu lệnh ip name-server và dns-server

    Như tiêu đề, em làm DHCP thấy có 2 câu lệnh ip name-server và dns-server, nhưng thấy nó giống giống nhau quá,mọi người chỉ rõ giúp e với.

  • #2
    Chào bạn, bạn tham khảo đoạn trích dẫn sau:

    The first command is ip domain-lookup, which is turned on by default. It needs to be entered only if you previously turned it off (with the no ip domain-lookupcommand). The
    command can be used without the hyphen as well (ip domain lookup).

    The second command is ip name-server. This sets the IP address of the DNS server. You can enter the IP addresses of up to six servers.

    The last command is ip domain-name. Although this command is optional, it really should be set. It appends the domain name to the hostname you type in. Since DNS uses
    a FQDN system, you must have a full DNS name, in the form domain.com.
    Lâm Văn Tú
    Email :
    cntt08520610@gmail.com
    Viet Professionals Co. Ltd. (VnPro)
    149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
    Tel: (08) 35124257 (5 lines)
    Fax (08) 35124314
    Tập tành bước đi....


    Comment


    • #3
      Chưa rõ lắm, ai có ví dụ thì hay

      Comment


      • #4
        hai lệnh này nghe thì gần giống nhau nhưng chức năng khác nhau.

        lệnh #ip name-server 192.168.1. 1 khi cấu hình trên router thì dạy cho router là nếu muốn sử dụng dịch vụ phân giải từ tên sang địa chỉ, hãy đến nhờ DNS server ở 192.168.1.1. Lúc này, con router của em là DNS client, đi nhờ vả dịch vụ DNS ở máy chủ DNS 192.168.1.1

        lệnh ip dns server thì cấu hình router của bạn thành máy chủ DNS. Lệnh này ít sử dụng hơn do thực tế DNS server được cài đặt trên Windows Server/ Linux.
        Đặng Quang Minh, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

        Email : dangquangminh@vnpro.org
        https://www.facebook.com/groups/vietprofessional/

        Comment


        • #5
          Originally posted by dangquangminh View Post
          hai lệnh này nghe thì gần giống nhau nhưng chức năng khác nhau.

          lệnh #ip name-server 192.168.1. 1 khi cấu hình trên router thì dạy cho router là nếu muốn sử dụng dịch vụ phân giải từ tên sang địa chỉ, hãy đến nhờ DNS server ở 192.168.1.1. Lúc này, con router của em là DNS client, đi nhờ vả dịch vụ DNS ở máy chủ DNS 192.168.1.1

          lệnh ip dns server thì cấu hình router của bạn thành máy chủ DNS. Lệnh này ít sử dụng hơn do thực tế DNS server được cài đặt trên Windows Server/ Linux.
          Cho hỏi thêm nếu trong hệ thống domain có 1 server windows chạy dns server thì tất cả router đều khai báo lệnh #ip name-server ip_dns_server phải ko?

          Comment


          • #6
            các router có thể khai báo lênh
            ip name-server

            nếu khai báo lệnh này thì các router có thể sử dụng dịch vụ dns để phân giải tên. Nếu không khai báo thì các router không thể sử dụng dịch vụ dns.
            Đặng Quang Minh, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

            Email : dangquangminh@vnpro.org
            https://www.facebook.com/groups/vietprofessional/

            Comment

            Working...
            X