Difference between revisions of "OPS535 Notes"

From CDOT Wiki
Jump to: navigation, search
(Created page with 'Catagory: OPS535 = Day 4 = learn name: rchan account on matrix: /home/rchan file system: the root (the starting point) is / dns system: the root (the starting point ) is …')
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Catagory: OPS535]]
+
[[Category: OPS535]]
= Day 4 =
+
Absolute and relative paths
learn name: rchan
+
* File system example:
 +
learn name: rchan
 +
account on matrix: /home/rchan
 +
file system: the root (the starting point - from the right) is /
  
account on matrix: /home/rchan
+
Host name and Fully Qualify Domain name (FQDN)
 
+
* DNS system:
file system: the root (the starting point) is /
+
host name: www
 
+
FQDN for the host: www.senecac.on.ca. (note the '.' at the end)
 
+
dns system: the root (the starting point - from the right ) is . (dot)
dns system: the root (the starting point ) is . (dot)
 
  
 
what is the minimum of partition(s) do you need to install Linux?
 
what is the minimum of partition(s) do you need to install Linux?
  
(a) 1 - 1    (v) - root file system
+
(a) 1 - 1    (v) - root file system
(b) 4 - 4
+
(b) 4 - 4
(c) 2 - 2
+
(c) 2 - 2
(d) 3 - 4
+
(d) 3 - 4
  
 
. domain - root domain - root name server
 
. domain - root domain - root name server
Line 21: Line 23:
 
note: All caching only DNS servers must know who are the root name servers (i.e. their IP addresses)
 
note: All caching only DNS servers must know who are the root name servers (i.e. their IP addresses)
  
scs.senecac.on.ca
+
Look up the IP for "scs.senecac.on.ca"
  
 
Caching name server will ask one of the 13 root name server
 
Caching name server will ask one of the 13 root name server
Line 27: Line 29:
  
 
Answer back from the root name server:
 
Answer back from the root name server:
 +
 
Sorry! I don't know, but you can ask the name server for the "ca" domain,
 
Sorry! I don't know, but you can ask the name server for the "ca" domain,
 +
 
And here is its name (xxxxx) and ip address (ddddd)
 
And here is its name (xxxxx) and ip address (ddddd)
  
Line 33: Line 37:
  
  
Caching name server will ask one of the Name server for the senecac.on.ca domainthe question: what is the ip address for scs.senecac.on.ca
+
Caching name server will ask one of the Name server for the senecac.on.ca domain the question: what is the ip address for scs.senecac.on.ca
  
possible answers: (1) There is no such host.
+
possible answers:  
                  (2) the ip for that host is 142.240.140.179
+
(1) There is no such host.
 +
(2) the ip for that host is 142.240.140.179
  
  
 
What will be the TTL for the cached records in the caching name server.
 
What will be the TTL for the cached records in the caching name server.
  
(a) 7 days
+
* (a) 7 days
(b) forever
+
* (b) forever
(c) 15 minutes
+
* (c) 15 minutes
(d) depends on where is coming from (v)
+
* (d) depends on where is coming from (v)
  
 
What if it is coming from the name server for senecac.on.ca?
 
What if it is coming from the name server for senecac.on.ca?
  
(a) Let take look or talk to the DNS administrator of senecac.on.ca domain
+
* (a) Let's take a look or talk to the DNS administrator of senecac.on.ca domain
(b) it depends on what kinds of DNS records
+
* (b) it depends on what kinds of DNS records
  
 
Is there a field in each DNS record that we can specify the TTL?
 
Is there a field in each DNS record that we can specify the TTL?
yes. there is a global field and a local field for each record in the zone file
+
 
 +
Answer: Yes. there is a global TTL field and a local TTL field for each record in the zone file
  
 
Why do we need such kind of information?
 
Why do we need such kind of information?
So that the authoritative DNS server for the DNS record is still in control of the DNS mappings.
 
  
Does your primary name server nedd the information about the 13 root name servers?
+
Answer: So that the authoritative DNS server for the DNS record is still in control of the DNS mappings.
 +
 
 +
Does your primary name server need the information about the 13 root name servers?
  
 
Yes/no and why?
 
Yes/no and why?
 +
 
No, no, no. if you don't want your primary name server to keep any DNS cache!
 
No, no, no. if you don't want your primary name server to keep any DNS cache!

Latest revision as of 17:11, 23 October 2016

Absolute and relative paths

  • File system example:
learn name: rchan
account on matrix: /home/rchan
file system: the root (the starting point - from the right) is /

Host name and Fully Qualify Domain name (FQDN)

  • DNS system:
host name: www
FQDN for the host: www.senecac.on.ca. (note the '.' at the end)
dns system: the root (the starting point - from the right ) is . (dot)

what is the minimum of partition(s) do you need to install Linux?

(a) 1 - 1    (v) - root file system
(b) 4 - 4
(c) 2 - 2
(d) 3 - 4

. domain - root domain - root name server

note: All caching only DNS servers must know who are the root name servers (i.e. their IP addresses)

Look up the IP for "scs.senecac.on.ca"

Caching name server will ask one of the 13 root name server the question: what is the IP address for scs.senecac.on.ca

Answer back from the root name server:

Sorry! I don't know, but you can ask the name server for the "ca" domain,

And here is its name (xxxxx) and ip address (ddddd)

....


Caching name server will ask one of the Name server for the senecac.on.ca domain the question: what is the ip address for scs.senecac.on.ca

possible answers:

(1) There is no such host.
(2) the ip for that host is 142.240.140.179


What will be the TTL for the cached records in the caching name server.

  • (a) 7 days
  • (b) forever
  • (c) 15 minutes
  • (d) depends on where is coming from (v)

What if it is coming from the name server for senecac.on.ca?

  • (a) Let's take a look or talk to the DNS administrator of senecac.on.ca domain
  • (b) it depends on what kinds of DNS records

Is there a field in each DNS record that we can specify the TTL?

Answer: Yes. there is a global TTL field and a local TTL field for each record in the zone file

Why do we need such kind of information?

Answer: So that the authoritative DNS server for the DNS record is still in control of the DNS mappings.

Does your primary name server need the information about the 13 root name servers?

Yes/no and why?

No, no, no. if you don't want your primary name server to keep any DNS cache!