Secure Shell (SSH)
and
Domain Name Server (DNS)
R.K.Ishwariya
M.sc(cs).,
Nadar Saraswathi College of Arts and Science,
Theni.
Secure Shell (SSH)
• Secure Shell (SSH) One of the oldest applications: remote login SSH is a
secure protocol for this purpose: • Log into a remote machine • Execute
commands on that machine • Transport files from one machine to another
SSH provides: • Strong encryption, server authentication, integrity protection
• Compression (optional) • An own secure transport layer protocol SSH
protocol is subdivided into: • Connection Protocol • Authentication Protocol
• Transport Layer Protocol
Domain Name Server (DNS)
• Domain Name Server (DNS) in Application Layer. DNS is a host name to IP
address translation service. DNS is a distributed database implemented in a hierarchy
of name servers. It is an application layer protocol for message exchange between
clients and servers.
Domain
• There are various kinds of DOMAIN :
• Generic domain : .com(commercial) .edu(educational) .mil(military) .org(non
profit organization) .net(similar to commercial) all these are generic domain.
• Country domain .in (india) .us .uk
• Inverse domain if we want to know what is the domain name of the website.
Ip to domain name mapping.So DNS can provide both the mapping for
example to find the ip addresses of geeksforgeeks.org then we have to type
nslookup www.geeksforgeeks.org
Organization of Domain
• It is Very difficult to find out the ip address associated to a website because there are millions of
websites and with all those websites we should be able to generate the ip address immediately,
there should not be a lot of delay for that to happen organization of database is very important.
DNS record – Domain name, ip address what is the validity?? what is the time to live ?? and all
the information related to that domain name. These records are stored in tree like structure.
• Namespace – Set of possible names, flat or hierarchical . Naming system maintains a collection
of bindings of names to values – given a name, a resolution mechanism returns the
corresponding value –
• Name server – It is an implementation of the resolution mechanism.. DNS (Domain Name
System) = Name service in Internet – Zone is an administrative unit, domain is a subtree.
Organization of Domain
Name to Address Resolution
• The host request the DNS name server to resolve the domain
name. And the name server returns the IP address corresponding
to that domain name to the host so that the host can future connect
to that IP address.
H ierarchy of Name Servers
• Root name servers – It is contacted by name servers that can not resolve
the name. It contacts authoritative name server if name mapping is not
known. It then gets the mapping and return the IP address to the host.
• Top level server – It is responsible for com, org, edu etc and all top level
country domains like uk, fr, ca, in etc. They have info about authoritative
domain servers and know names and IP addresses of each authoritative
name server for the second level domains.
• Authoritative name servers This is organization’s DNS server, providing
authoritative hostName to IP mapping for organization servers. It can be
maintained by organization or service provider. In order to reach cse.dtu.in
we have to ask the root DNS server, then it will point out to the top level
domain server and then to authoritative domain name server which actually
contains the IP address. So the authoritative domain server will return the
associative ip address.
Domain Name Server
• The client machine sends a request to the local name server, which , if root
does not find the address in its database, sends a request to the root name
server , which in turn, will route the query to an intermediate or authoritative
name server. The root name server can also contain some hostName to IP
address mappings . The intermediate name server always knows who the
authoritative name server is. So finally the IP address is returned to the local
name server which in turn returns the IP address to the host.
Domain Name Server
Secure shell (ssh)

Secure shell (ssh)

  • 1.
    Secure Shell (SSH) and DomainName Server (DNS) R.K.Ishwariya M.sc(cs)., Nadar Saraswathi College of Arts and Science, Theni.
  • 2.
    Secure Shell (SSH) •Secure Shell (SSH) One of the oldest applications: remote login SSH is a secure protocol for this purpose: • Log into a remote machine • Execute commands on that machine • Transport files from one machine to another SSH provides: • Strong encryption, server authentication, integrity protection • Compression (optional) • An own secure transport layer protocol SSH protocol is subdivided into: • Connection Protocol • Authentication Protocol • Transport Layer Protocol
  • 4.
    Domain Name Server(DNS) • Domain Name Server (DNS) in Application Layer. DNS is a host name to IP address translation service. DNS is a distributed database implemented in a hierarchy of name servers. It is an application layer protocol for message exchange between clients and servers.
  • 5.
    Domain • There arevarious kinds of DOMAIN : • Generic domain : .com(commercial) .edu(educational) .mil(military) .org(non profit organization) .net(similar to commercial) all these are generic domain. • Country domain .in (india) .us .uk • Inverse domain if we want to know what is the domain name of the website. Ip to domain name mapping.So DNS can provide both the mapping for example to find the ip addresses of geeksforgeeks.org then we have to type nslookup www.geeksforgeeks.org
  • 6.
  • 7.
    • It isVery difficult to find out the ip address associated to a website because there are millions of websites and with all those websites we should be able to generate the ip address immediately, there should not be a lot of delay for that to happen organization of database is very important. DNS record – Domain name, ip address what is the validity?? what is the time to live ?? and all the information related to that domain name. These records are stored in tree like structure. • Namespace – Set of possible names, flat or hierarchical . Naming system maintains a collection of bindings of names to values – given a name, a resolution mechanism returns the corresponding value – • Name server – It is an implementation of the resolution mechanism.. DNS (Domain Name System) = Name service in Internet – Zone is an administrative unit, domain is a subtree. Organization of Domain
  • 8.
    Name to AddressResolution • The host request the DNS name server to resolve the domain name. And the name server returns the IP address corresponding to that domain name to the host so that the host can future connect to that IP address.
  • 9.
    H ierarchy ofName Servers • Root name servers – It is contacted by name servers that can not resolve the name. It contacts authoritative name server if name mapping is not known. It then gets the mapping and return the IP address to the host. • Top level server – It is responsible for com, org, edu etc and all top level country domains like uk, fr, ca, in etc. They have info about authoritative domain servers and know names and IP addresses of each authoritative name server for the second level domains.
  • 10.
    • Authoritative nameservers This is organization’s DNS server, providing authoritative hostName to IP mapping for organization servers. It can be maintained by organization or service provider. In order to reach cse.dtu.in we have to ask the root DNS server, then it will point out to the top level domain server and then to authoritative domain name server which actually contains the IP address. So the authoritative domain server will return the associative ip address.
  • 11.
    Domain Name Server •The client machine sends a request to the local name server, which , if root does not find the address in its database, sends a request to the root name server , which in turn, will route the query to an intermediate or authoritative name server. The root name server can also contain some hostName to IP address mappings . The intermediate name server always knows who the authoritative name server is. So finally the IP address is returned to the local name server which in turn returns the IP address to the host.
  • 12.