合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

        代寫ECE4016、Python設計編程代做
        代寫ECE4016、Python設計編程代做

        時間:2024-10-11  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



        ECE4016 Assignment 1
        In this assignment, you are required to implement a simple Local DNS Server .
        Introduction
        The Domain Name System (DNS) is the hierarchical and decentralized naming system used to
        identify computers reachable through the Internet or other Internet Protocol (IP) networks. The
        resource records contained in the DNS associate domain names with other forms of information.
        These are most commonly used to map human-friendly domain names to the numerical IP
        addresses computers need to locate services and devices using the underlying network
        protocols, but have been extended over time to perform many other functions as well. The
        Domain Name System has been an essential component of the functionality of the Internet since
        1985. (wikipedia)
        Iterative query and Recursive query
        Detailed grading rule
        The local DNS server should have the following function:Listen and accept the DNS queries
        Send response to the clients
        Maintain a cache(20 points). If the ip address is queried before, it should be stored in the
        cache. if the answer for the query is found in cache, Local DNS Server send this answer to
        Client as the DNS response
        Support the DNS queries of www.baidu.com through recursive or iterative searching (30
        points)
        Support the DNS queries of www.example.com through recursive or iterative searching (20
        points)
        Support the DNS queries of www.baidu.com through public DNS server (15 points)
        Support the DNS queries of www.example.com through public DNS server (15 points)
        Requirements
        Print the ip address of all the servers you pass by during the searching
        Use a variable flag to indicate whether ask the public server for the IP address. When the
        flag is set to be 0 , ask the public server for the IP address. When the flag is set to be 1 do
        the recursive or iterative searching
        Make sure your program works under ubuntu 20
        Show how to execute your code
        The programming language should be Python(version 3.9)
        Dnspython is not allowed to use in this lab
        The server is required to work on port 1234 of 127.0.0.1
        Useful tools
        There are some useful tools that may help you in your programming. (Dnspython is not allowed
        to use in this lab)
        socket
        dnslibSimple test by yourself
        You can use dig to test your local NDS server.
        An example test code:
        dig www.example.com @127.0.0.1 -p 1234
        dig www.baidu.com @127.0.0.1 -p 1234
        Note that this test code will be used in the evaluation of this project, make sure your program
        works given this test code.
        Submission
        Due on 23:59, 13 Oct 2024(Late submission within 5 minitues is allowed without
        punishment)
        Every 24h late delivery will be deducted 10%, and 48h late delivery will be allowed at most.
        After 48h, 0 marks will be given for this assignment
        Honesty
        We take your honesty seriously. If you are caught copying others' code, you will get an
        automatic 0 in this project. Please write your own code.

        請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp




         

        掃一掃在手機打開當前頁
      1. 上一篇:代做320SC編程、代寫Python設計程序
      2. 下一篇:代做CS 259、Java/c++設計程序代寫
      3. 無相關信息
        合肥生活資訊

        合肥圖文信息
        急尋熱仿真分析?代做熱仿真服務+熱設計優化
        急尋熱仿真分析?代做熱仿真服務+熱設計優化
        出評 開團工具
        出評 開團工具
        挖掘機濾芯提升發動機性能
        挖掘機濾芯提升發動機性能
        海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
        海信羅馬假日洗衣機亮相AWE 復古美學與現代
        合肥機場巴士4號線
        合肥機場巴士4號線
        合肥機場巴士3號線
        合肥機場巴士3號線
        合肥機場巴士2號線
        合肥機場巴士2號線
        合肥機場巴士1號線
        合肥機場巴士1號線
      4. 短信驗證碼 酒店vi設計 deepseek 幣安下載 AI生圖 AI寫作 aippt AI生成PPT 阿里商辦

        關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

        Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
        ICP備06013414號-3 公安備 42010502001045

        主站蜘蛛池模板: 国产在线观看精品一区二区三区91 | 亚洲乱码国产一区网址| 日韩精品一区二区三区毛片| 综合久久久久久中文字幕亚洲国产国产综合一区首 | 人体内射精一区二区三区| 一区二区中文字幕在线观看| 亚洲一本一道一区二区三区| 中文字幕一区二区三区在线观看| 熟女少妇精品一区二区| 精品一区二区三区免费观看| 精品理论片一区二区三区| 极品尤物一区二区三区| 亚洲AV乱码一区二区三区林ゆな | 国产成人精品一区二区三区无码| 日韩精品国产一区| 精品无码人妻一区二区三区18| 久久无码人妻一区二区三区| 精品一区二区在线观看| 中文字幕aⅴ人妻一区二区| 日本大香伊一区二区三区| 国产精品亚洲综合一区| 久久国产香蕉一区精品| 日本精品高清一区二区| 日本一区二区三区精品中文字幕| 99久久国产精品免费一区二区| 日韩精品无码一区二区三区AV| 久久精品无码一区二区三区| 中文字幕亚洲乱码熟女一区二区| 在线视频一区二区三区三区不卡| 国产午夜精品一区二区三区漫画| 中文字幕VA一区二区三区| 无码人妻精品一区二区三区夜夜嗨| 久久精品国产一区二区三区肥胖| 无码精品人妻一区二区三区漫画 | 国产一区二区三区播放| 免费视频精品一区二区| 中文字幕一区二区三区精华液 | 精品国产一区二区二三区在线观看| 亚洲AV网一区二区三区| 日韩一区二区三区在线精品| 中日av乱码一区二区三区乱码|