Assignments of day 1 in week #1
DNS, WHOIS, TRACEROUTE
Last Updated : Friday, 26-Apr-2002 16:58:30 HKT
- Set up web pages at your host
- login your host and get its root shell
- cd /home/httpd/html and edit the index.html file.
Including the following information in your
web front page:
- - Your user login name
- - Your full name
- - Your code no.
- - Your hostname
- Check if the httpd is running.
use "ps -ef|grep http" to check if the httpd is running.
If not, type "/etc/rc.d/init.d/httpd start" to start it.
- Try to access your web page by the folloing url:
http://ntec[your_code_no].wsh.hkntec.net
- Identify your host network configuration
- login your host and get its root shell
- try to figure out the following information of your host
- - IP
- - Hardware address
- - hostname
- - netmask
- - broadcast
- - network ID
- - default gateway
- - yp server
- post them to your host home pages
Your may use the following commands to figure out the
above information.
- ifconfig -a
- netstat -r
- ypwhich
- Qurey DNS records
- Identify the following information of any three
web sites at:
http://info.hkntec.net/workshop/2002/wk1/www.lst
- IP Address of the web site
- Name server of the web site domain
- MX server of the web site domain
- SOA records ofthe web site domain
(Admin e-mail Serial, refresh, retry,
expire and ttl)
- - The domain registration organization address
of that web site domain
- - The admin and technical contact of
that web site domain
You may use the following commands of figure out
the above information.
- nslookup
- dig
- whois
Here is some common whois server :
whois.apnic.net
whois.hknic.net.hk
whois.arin.net
whois.ripe.net
whois.networksolutions.com
whois.internic.net
whois.nic.mil
whois.nic.gov
- Put the above information on your host web pages.
- Trace the network information of an IP
- Identify the following information of any three
IPs at
http://info.hkntec.net/workshop/2002/wk1/ip.lst
- - Its full qualitfy hostname.
- - The domain name belonged to
- - The routing path from our site to these IPs
You may use the following commands of figure out
the above information.
- nslookup
- dig
- whois
- traceroute
- Put the above information on your host web pages.
- traceroute and ping any three IPs at
http://info.hkntec.net/workshop/2002/wk1/ip.lst
Record the numbers of hop in traceroute and its ttl value in ping.
Post the
data on your web pages and try to find out the correlation of these numbers.
References: