Practice Test 3 Discussion

UNIX/Linux Network Administration - Rich Simms
Laura Sreckovic
Posts: 47
Joined: Tue Sep 14, 2010 9:15 am
Location: France

Re: Practice Test 3 Discussion

Post by Laura Sreckovic » Sun May 19, 2013 2:09 pm

shahram farahbakhsh wrote:Rich, I'm getting the same answer for every computer configured with 172.30.5.8 as a nameserver. This includes my opus and elrond hosts.

The in-arpa zone names are the ip address in reverse order. E.G - 192.20.172.in-addr.arpa zone = 172.20.192.X network

My answer was= p34-elrond.cis192pods.cislab.net.

Code: Select all

[srelau192@oslab ~]$ host 172.20.192.238
Host 238.192.20.172.in-addr.arpa. not found: 3(NXDOMAIN)
[srelau192@oslab ~]$ host 172.20.192.238
238.192.20.172.in-addr.arpa domain name pointer p34-elrond.cis192pods.cislab.net.


[srelau192@oslab ~]$ ssh cis192@treebeard
cis192@treebeard's password: 
Last login: Sun Dec 30 18:23:18 2012
[cis192@treebeard ~]$ su -
Password: 
[root@treebeard ~]# cat /var/named/db.
db.192.20.172                   db.pod26.cis192pods.cislab.net
db.cis192pods.cislab.net        db.pod34.cis192pods.cislab.net
[root@treebeard ~]# cat /var/named/db.192.20.172 
$TTL 120
; 172.20.192.* Reverse Zone Definition
;
192.20.172.in-addr.arpa. IN SOA treebeard.cislab.net. root.treebeard.cislab.net. (
		2013050401 ; Serial
		10800 ; Refresh
		15 ; Retry
		3600000 ; Expire
		86400 ) ; Minimum
;
;Name Server Records
;
192.20.172.in-addr.arpa. IN NS treebeard.cislab.net.
;
;Reverse pointer records
21 	IN PTR p03-elrond.cis192pods.cislab.net.
28 	IN PTR p04-elrond.cis192pods.cislab.net.
35 	IN PTR p05-elrond.cis192pods.cislab.net.
42 	IN PTR p06-elrond.cis192pods.cislab.net.
50 	IN PTR p07-elrond.cis192pods.cislab.net.
56 	IN PTR p08-elrond.cis192pods.cislab.net.
66 	IN PTR p09-elrond.cis192pods.cislab.net.
70 	IN PTR p10-elrond.cis192pods.cislab.net.
78 	IN PTR p11-elrond.cis192pods.cislab.net.
84 	IN PTR p12-elrond.cis192pods.cislab.net.
91 	IN PTR p13-elrond.cis192pods.cislab.net.
98 	IN PTR p14-elrond.cis192pods.cislab.net.
105 	IN PTR p15-elrond.cis192pods.cislab.net.
112 	IN PTR p16-elrond.cis192pods.cislab.net.
119 	IN PTR p17-elrond.cis192pods.cislab.net.
126 	IN PTR p18-elrond.cis192pods.cislab.net.
133 	IN PTR p19-elrond.cis192pods.cislab.net.
140 	IN PTR p20-elrond.cis192pods.cislab.net.
149 	IN PTR p21-elrond.cis192pods.cislab.net.
154 	IN PTR p22-elrond.cis192pods.cislab.net.
161 	IN PTR p23-elrond.cis192pods.cislab.net.
182 	IN PTR p26-elrond.cis192pods.cislab.net.
224 	IN PTR p32-elrond.cis192pods.cislab.net.
231 	IN PTR p33-elrond.cis192pods.cislab.net.
232 	IN PTR p33-celebrian.cislab.net.
238 	IN PTR p34-elrond.cis192pods.cislab.net.

Laura Sreckovic
Posts: 47
Joined: Tue Sep 14, 2010 9:15 am
Location: France

Re: Practice Test 3 Discussion

Post by Laura Sreckovic » Sun May 19, 2013 3:41 pm

corey douthett wrote: 7. For the email sent above, what destination host choices did the sending MTA have to reach the MTA handling the destination domain? (Identify these choices by their FQDN's)

ANS: homiemail-mx21.g.dreamhost.com, mail.cruzio.com, cruziomail.cruzio.com
I got= mx1.sub5.homie.mail.dreamhost.com. mx2.sub5.homie.mail.dreamhost.com.

I used=dig mx simms-teach.com

Code: Select all

[srelau192@oslab ~]$ dig mx simms-teach.com

; <<>> DiG 9.7.3-P3-RedHat-9.7.3-8.P3.el6_2.3 <<>> mx simms-teach.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56370
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 5

;; QUESTION SECTION:
;simms-teach.com.		IN	MX

;; ANSWER SECTION:
simms-teach.com.	14400	IN	MX	0 mx1.sub5.homie.mail.dreamhost.com.
simms-teach.com.	14400	IN	MX	0 mx2.sub5.homie.mail.dreamhost.com.

;; AUTHORITY SECTION:
simms-teach.com.	122254	IN	NS	ns3.dreamhost.com.
simms-teach.com.	122254	IN	NS	ns2.dreamhost.com.
simms-teach.com.	122254	IN	NS	ns1.dreamhost.com.

;; ADDITIONAL SECTION:
mx1.sub5.homie.mail.dreamhost.com. 4954	IN A	208.113.200.127
mx2.sub5.homie.mail.dreamhost.com. 4954	IN A	208.113.200.128
ns1.dreamhost.com.	122254	IN	A	66.33.206.206
ns2.dreamhost.com.	78628	IN	A	208.96.10.221
ns3.dreamhost.com.	122254	IN	A	66.33.216.216

;; Query time: 19 msec
;; SERVER: 172.30.5.8#53(172.30.5.8)
;; WHEN: Sun May 19 15:05:51 2013
;; MSG SIZE  rcvd: 233

TonyGarcia
Posts: 63
Joined: Wed Feb 24, 2010 10:55 am

Re: Practice Test 3 Discussion - Q2

Post by TonyGarcia » Mon May 20, 2013 1:41 am

Rich Simms wrote:
corey douthett wrote:2. A server named treebeard in the CIS Lab has been configured as a name server. For the 192.20.172.in-addr.arpa zone, what host does "238" resolve to? (Specify the FQDN)

ANS: nothing.attdns.com
Is that your final answer? One way would be to configure your system to use Treebeard or 172.30.5.8 (which delegates to Treebeard) as your nameserver to get the correct answer. Do the query multiple times if the first one fails.

- Rich
So the answer to question 2 is p34-elrond.cis192pods.cislab.net

The way I got this was logged into Elrond and ran the dig 172.20.192.238 (the reverse of 192.20.172.in.addr.arpa + the "238" host)

That doesn't give you what you need. You need to add the -x option to get a return on the FQDN.

This is assuming the DNS was set up with a corresponding PTR record. Otherwise I believe you would get something like NXDOMAIN in the status section.

[root@p20-elrond ~]# dig -x 172.20.192.238

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.4 <<>> -x 172.20.192.238
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60305
;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;238.192.20.172.in-addr.arpa. IN PTR

;; ANSWER SECTION:
238.192.20.172.in-addr.arpa. 120 IN PTR p34-elrond.cis192pods.cislab.net.

;; AUTHORITY SECTION:
192.20.172.in-addr.arpa. 120 IN NS treebeard.cislab.net.

;; Query time: 1 msec
;; SERVER: 172.30.5.8#53(172.30.5.8)
;; WHEN: Mon May 20 01:18:42 2013
;; MSG SIZE rcvd: 115

[root@p20-elrond ~]#

TonyGarcia
Posts: 63
Joined: Wed Feb 24, 2010 10:55 am

Re: Practice Test 3 Discussion Q3

Post by TonyGarcia » Mon May 20, 2013 1:52 am

corey douthett wrote:Here are my answers to practice test 3:


3. From your Elrond VM show the NFS exports on Hershey and mount the one named /simms/dylan. What is the last line of the only file in that exported directory?

ANS: I might be in the swamp
The steps to get this:

Log into Elrond and issue the showmount -e hershey command. This is assuming you have added hershey in your /etc/hosts file.

You get this output:


[root@p20-elrond ~]# showmount -e hershey
Export list for hershey:
/riddles *
/install/rh *
/simms/dylan *
/install/suse *
/install/rhel *
/simms/mitchell *
/home 172.20.0.0/255.255.0.0

Then you can do this:

[root@p20-elrond ~]# mkdir /depot
[root@p20-elrond ~]# mount hershey:/simms/dylan /depot
[root@p20-elrond ~]# tail -2 /depot/motorpsycho
I might be in the swamp

[root@p20-elrond ~]#

TonyGarcia
Posts: 63
Joined: Wed Feb 24, 2010 10:55 am

Re: Practice Test 3 Discussion Extra Credit

Post by TonyGarcia » Mon May 20, 2013 2:22 am

corey douthett wrote:Here are my answers to practice test 3:

11. For the email above, use: http://whatismyipaddress.com/ to determine the original geographic location it came from (assuming headers were not modified during transit). Where did it originate?

ANS: Germany
Yep, so last IP address under received from unknown has an IP address of 37.93.223.119, which is in Germany, but the SMTP server, where the message was sent out from, is 178.125.17.84, which is in Belarus. So where did it really originate?

User avatar
corey douthett
Posts: 57
Joined: Sun Feb 05, 2012 11:26 pm

Re: Practice Test 3 Discussion

Post by corey douthett » Mon May 20, 2013 8:36 am

UPDATE FOR Question 2:

ANS: p34-elrond.cis192pods.cislab.net

[doucor192@oslab ~]$ host 172.20.192.238
238.192.20.172.in-addr.arpa domain name pointer p34-elrond.cis192pods.cislab.net

<Originally I accidentally queried 192.20.172.238>

shahram farahbakhsh
Posts: 118
Joined: Wed Sep 05, 2012 5:07 pm

Re: Practice Test 3 Discussion

Post by shahram farahbakhsh » Mon May 20, 2013 5:31 pm

OK, I'll try the rest

4) When configuring an NFS export in the /etc/exports file, what is the sync option used for?
lesson 10, slide 97: sync=writes data to disk instead of buffering
5) What are the names of the printers installed on Opus?
[farsha192@oslab ~]$ lpstat -p
printer charlie disabled since Tue 26 Jan 2010 05:03:19 PM PST -
I don't really exist
printer hplaser disabled since Tue 26 Jan 2010 04:58:14 PM PST -
Out of paper
6) A /etc/samba/smb.conf file contains a definition for the share shown above. What line must be added to this share definition to block access to the hoocap192 user?
Lesson 11, slides 150-151
8) For the email sent above, what MUA and version number was used by the sender?
User-Agent: SquirrelMail/1.4.20
9) The NIS service: (choose best answer)
a) was developed by Nintendo to enable games to be played over the Internet
b) was originally called Yellow Pages
c) extends the file system to allow remote directories to be mounted locally
d) was licensed by Microsoft as the underlying engine powering Active Directory
Lesson 13, slide 63 B
10) Looking at the firewall for the system above, what email AA service is most likely installed?
with port 143 open, IMAP service is likely installed. If port 110 were open, POP would also be running.

Locked

Return to “CIS 192 - Spring 2013”