Sunday, April 20, 2008

Chapter 10

1. What is the TLD for www.sample.domain.com?
.com

2. What determines the default length of time that a name resolution result is cached on your computer?
b. the search line in /etc/resolv.conf

3. Which two packages must you have installed for your computer to function as a DNS server?
a. bind
c. bind-utils

4. What line in the /etc/named.conf file can be used to forward name resolution requests that cannot be resolved locally to a DNS server with an IP address of 192.168.1.242?
the options block

5. What record in a DNS zone file is used to map names to IP addresses for hosts on the network?
b. NS

6. How does a slave DNS server know that changes have been made on the master DNS server?
b. By querying the serial number in the SOA on the master DNS server

7. How many other DNS servers can a single DNS server be configured to forward name resolution requests to?
3

8. What three commands could you use to test name resolution?
host, dig, nslookup

9. What line in the /etc/exports file will export the /home directory to the host arfa as read-write , which ensuring that the root user does not have administrative rights to the exported directory?

10. What three services need to be started on an NFS server?
a. RPC mount daemon
b. RPC portmapper
c. RPC NFS Daemon

11. What command may be used to mount the /home directory on a remote computer called server2 using the NFS protocol to the local /mnt directory?
exportfs

12. What command may be used to display the NFS ports registered by the RPM port-mapper daemon?

13. What two commands can you run to activate changes made to the /etc/samba/smb.conf file?
b. rcsmb restart
d. rcnmb restart

14. What command can you use to check the /etc/samba/smb.conf file for errors?
/usr/bin/testparm

15. What command may be used to mount the acctg shared directory on the server afra to the local /mnt directory using SMB?
[homes]

16. Which command may be used to create printers?
b. lpadmin

17. When you try to send a print job to the printer p1, you receive an error message stating that the print queue is unavailable. What command can you use to allow print jobs to enter the print queue for p1?
/usr/bin/enable p1

18. What address would you use in your Web browser to administer your local CUPS server?
http://localhost:631

19. When you save print options in the kprinter utility as the root user, what file are these options saved to?
/etc/cups/ppd/

20. What CUPS log stores remote printing requests?
/var/log/cups/access_log

2 comments:

Egypt Trip 2008 said...

9. /home arfa(rw,root_squash)

5. I think that is A

11. mount –t nfs server2:/home /mnt

12. rpcinfo -p

Unknown said...

Life is all about timing... the unreachable becomes reachable, the unavailable become available, the unattainable... attainable. Have the patience, wait it out It's all about timing. See the link below for more info.


#unavailable
www.ufgop.org