Reference no: EM132141251
Question :
Suppose a network with 10^9 hostnames (not including the names of the nameservers themselves) uses non-recursive DNS. Assume that there is a single root nameserver, multiple local nameservers, and M levels of nameservers in between local nameservers and the root nameserver.
Each nameserver has N names in its database. (a) If M=1, find N. If M=2, find N. If M=3, find N. [Hint: First, draw the DNS tree for M=1, and make sure you know what entries are in each DNS table.] (b) Assume that the total of transmission, propagation and queueing delay for each message takes 0.2 seconds.
Assume that the processing delay of a single DNS nameserver to respond to a DNS query takes 0.5 log(N) seconds, if the nameserver has N names in its database, where the log is base 10.
Compare the time for a query and response for a complete DNS query and response (to all required nameservers) if M=1, M=2, and M=3.
**Update: (Hint):
In the proposed network:
Root nameserver stores N entries of top level domains (TLDs).
Each TLD stores N entries of local nameservers.
Each local server stores N entries of host names.
For M=1, there is one level of nameservers between local nameservers and the root nameserver.
You may consider the whole network as a tree in which root of the tree is the root nameserver which has N children (TLDs). Each TLD has N children (local nameservers) . that each one has N children (host names).
Shortly, we have a tree with three type of intermediate (non-leaf) nodes including root nameserver, TLDs, and local name servers. Each non-leaf node of the tree has N children. Leaves of the tree are host names (10^9 in total).
For M=2: there are two levels of nameservers between local nameservers and the root nameserver.
For M=3: there are three levels of nameservers between local nameservers and the root nameserver.
How will you choose so that the modified algorithm
: How will you choose so that the modified algorithm will have O(n log n) running time? Show your work.
|
How can we quickly test if k is even
: We say that k is even if and only if |k| mod 2 = 0. How can we quickly test if k is even without using arithmetic operations, and without using mod?
|
Describe the ways in which this is an example of attacks
: Suppose you are doing some online banking using your bank's website. An attacker has set up an active wiretap between your computer and your bank's server.
|
Forecasted an expected return
: Using the data from problem 1, if you forecasted an expected return of 16.00% for stock XYZ, is it overvalued, undervalued, or fairly valued? Briefly, why?
|
Compare the time for a query and response for a complete
: Compare the time for a query and response for a complete DNS query and response (to all required nameservers) if M=1, M=2, and M=3.
|
How much will it cost to provide disk space
: At contemporary memory pricing of $7 / GB, how much will it cost to fill the machine? Knowing what you know about virtual memory.
|
How this special computer can be used to sort the given n
: Suppose you are given n positive integers to sort on a special computer which has access to special memory containing p slots.
|
Create an algorithm for telling if l and m store the same
: Create an algorithm for telling if L and M store the same sequence of elements (but perhaps with different starting points).
|
Provide again a polynomial time algorithm
: Suppose we are given a directed graph G = (V, E), a set of nodes A V (denoted as people) and a set of nodes B V (denoted as exit).
|