Lab 4
Lab 4
Lab 4
LAB 4
MYNIC is the sole administrator for web addresses that end with .my in Malaysia. As the
national level domain name, MYNIC provides Malaysian organisation and individuals their
unique brand identity on the internet. We register a wide range of domain names i.e. .my,
.com.my, .biz.my, .org.my, .net.my, .coop.my, .edu.my, .gov.my, .mil.my and .name.my.
2. Use MYNIC whois service and find information about MMU DNS information. What is
MMU Primary and Secondary Server and IP address.
3. List and briefly describe DNS record types.
1. A record
The A record is the most important DNS record type. The "A" in A record stands for
"address." An A record shows the IP address for a specific hostname or domain. For
example, a DNS record lookup for the domain example.com returns the following
result:
2. AAAA record
AAAA record, just like A record, point to the IP address for a domain. However, this
DNS record type is different in the sense that it points to IPV6 addresses.
3. CNAME record
CNAME—or, in full, "canonical name"—is a DNS record that points a domain name
(an alias) to another domain. In a CNAME record, the alias doesn't point to an IP
address. And the domain name that the alias points to is the canonical name. For
example, the subdomain ng.example.com can point to example.com using CNAME.
Here example.com points to the actual IP address using an A record.
4. NS record
A nameserver (NS) record specifies the authoritative DNS server for a domain. In
other words, the NS record helps point to where internet applications like a web
browser can find the IP address for a domain name. Usually, multiple nameservers
are specified for a domain. For example, these could look like
ns1.examplehostingprovider.com and ns2.examplehostingprovider.com.
5. MX record
A mail exchange (MX) record, is a DNS record type that shows where emails for a
domain should be routed to. In other words, an MX record makes it possible to direct
emails to a mail server.
5. In windows command prompt, run suitable command to get information about IP address
and DNS services.
b) Run nslookup command to confirm DNS information from ipconfig /all command.
6. In linux, host is a simple utility for performing DNS lookups. Using host find IP address
for:
a) mmu.edu.my
b) google.com
7. Another DNS lookup tool is dig. Using, dig find IP address and other information for:
a) tm.com.my
b) yahoo.com
c) google.com : Use ANY to return all of the results of the query
d) mmu.edu.my : Use +trace option lists each different server the query goes through to its
final destination. Use this command option to identify the IP address where traffic is
dropping
8. Not all sites run their own DNS servers—and not all sites need their own DNS servers! In
sufficiently small sites with no Internet connectivity, it’s reasonable for each host to keep its
own copy of a table matching all of the hostnames on the local network with their
corresponding IP addresses. In most Linux and UNIX systems, this table is stored in the
/etc/hosts file. The /etc/hosts file keeps its information in a simple tabular format in a
plain-text file. The IP address is in the first column, and all the related hostnames are in the
second column. Show the /etc/hosts in your Linux server.
Notes:
● Use snipping tools to capture screen
● Save the file as PDF. Use file name as: Section-Lab4-StudentID-Name.pdf
● Upload the file to Google Classroom.