Andrew Hudson - Fedora™ Unleashed, 2008 edition

Здесь есть возможность читать онлайн «Andrew Hudson - Fedora™ Unleashed, 2008 edition» весь текст электронной книги совершенно бесплатно (целиком полную версию без сокращений). В некоторых случаях можно слушать аудио, скачать через торрент в формате fb2 и присутствует краткое содержание. Город: Indianapolis, Год выпуска: 2008, ISBN: 2008, Издательство: Sams Publishing, Жанр: ОС и Сети, на английском языке. Описание произведения, (предисловие) а так же отзывы посетителей доступны на портале библиотеки ЛибКат.

Fedora™ Unleashed, 2008 edition: краткое содержание, описание и аннотация

Предлагаем к чтению аннотацию, описание, краткое содержание или предисловие (зависит от того, что написал сам автор книги «Fedora™ Unleashed, 2008 edition»). Если вы не нашли необходимую информацию о книге — напишите в комментариях, мы постараемся отыскать её.

Quick Glance Guide
Finding information you need is not always easy. This short index provides a list of common tasks discussed inside this book. Browse the table of contents or index for detailed listings and consult the specified chapter for in-depth discussions about each subject.
left How Do I…?
See…
How Do I…?
See…
left Back up my system?
Chapter 13
Partition a hard drive?
Appendix B, Chapters 1, 35
left Build a new Linux kernel?
Chapter 36
Play MP3s and other music?
Chapter 7
left Burn a CD?
Chapter 7
Print a file?
Chapter 8
left Change a password?
Chapter 4
Read a text file?
Chapter 4
left Change the date and time?
Chapter 32
Read or send email?
Chapter 21
left Compress a file?
Chapter 13
Read or post to newsgroups?
Chapter 5
left Configure a modem?
Chapter 2
Reboot Fedora?
Chapter 1
left Configure a printer?
Chapter 8
Rescue my system?
Chapter 13
left Configure a scanner?
Chapter 7
Set up a DNS server?
Chapter 23
left Configure a sound card?
Chapter 7
Set up a firewall?
Chapter 14
left Configure my desktop settings?
Chapter 3
Set up a web server?
Chapter 15
left Connect to the Internet?
Chapter 5
Set up an FTP server?
Chapter 20
left Control a network interface?
Chapter 14
Set up Samba with SWAT?
Chapter 19
left Copy files or directories?
Chapters 13, 32
Set up wireless networking?
Chapter 14
left Create a boot disk to boot Fedora?
Chapter 1
Shut down Fedora?
Chapter 1
left Create a database?
Chapter 16
Use a spreadsheet?
Chapter 6
left Create a user?
Chapter 4
Use Instant Messaging?
Chapter 5
left Delete a file or directory?
Chapter 32
Watch television on my computer?
Chapter 7
left Get images from a digital camera?
Chapter 7
Edit a text file?
Chapter 4
left Install Fedora?
Chapter 1
Make Fedora more secure?
Chapter 14
left Log in to Fedora?
Chapter 1
Mount a CD-ROM or hard drive?
Chapter 35

Fedora™ Unleashed, 2008 edition — читать онлайн бесплатно полную книгу (весь текст) целиком

Ниже представлен текст книги, разбитый по страницам. Система сохранения места последней прочитанной страницы, позволяет с удобством читать онлайн бесплатно книгу «Fedora™ Unleashed, 2008 edition», без необходимости каждый раз заново искать на чём Вы остановились. Поставьте закладку, и сможете в любой момент перейти на страницу, на которой закончили чтение.

Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

#/etc/resolv.conf

#nameserver 83.64.1.10

#nameserver 83.64.0.10

nameserver 127.0.0.1

Other machines on your network should have the IP of the local caching nameserver in their /etc/resolv.conffiles. Assuming that the IP address for the computer running the caching nameserver is 192.168.1.5, the /etc/resolv.conffiles on the other machines on your network should be the following:

#/etc/resolv.conf

#nameserver 83.64.1.10

#nameserver 83.64.0.10

nameserver 192.168.1.5

Ad Blocking with a Caching Nameserver

Another advantage of setting up a caching nameserver is that you can use it to block ads and objectionable sites by using bogus DNS zones to block specific domains. You do this by overriding the DNS lookup of the sites you want to block. Configuration is simple. First, determine the sites that you want to block. For example, you might want to block all access to doubleclick.net. Create an entry in /etc/named.conflike this:

zone "doublelick.net" { type master; file "fakes"; };

Then create a new /var/named/fakesfile. This should contain

$TTL 1D

@ IN SOA dns.companyname.com. hostmaster.companyname.com. (

2004081701 8H 2H 4W 1D)

@ IN NS dns.companyname .example.com.

@ IN A 127.0.0.1

* IN A 127.0.0.1

where dns.companyname.com should be replaced by the hostname of the caching nameserver. This points all DNS lookups of doubleclick.net to 127.0.0.1, where they will not be found. To make the change effective, you have to restart namedso that the new configuration information is read. Chapter 11 describes several different ways of restarting the namedservice; here is one of them:

# kill -HUP `pidof named`

When namedis restarted, attempts to resolve all doubleclick.net addresses fail, the ads are neither loaded nor displayed, and your browsing experience is faster.

Your Own Domain Name and Third-Party DNS

It is possible to have your own domain name and provide third-party DNS service for it, meaning that you do not have to configure and administer a DNS nameserver for your self. You can even have a mail address for your domain without having a mail server.

Here is a summary of the major tasks involved in providing a third-party DNS service to your own domain name:

Register and pay for a unique domain name— Several companies now offer to register these names, so shop around for the most reasonable price and perform some Google background checks on the company before using it.

Use a third-party DNS provider to provide DNS services— One popular provider is ZoneEdit, which provides detailed steps to use the service. ZoneEdit also provides mail-forwarding services, so mail addressed to you@your.own.domain is forwarded to your regular ISP mail account. ZoneEdit also allows you to use Dynamic DNS, which enables you to run a server on a dynamically assigned IP (from a cable or dialup provider), yet still have DNS servers locate you. ZoneEdit can also provide a startup web page space for you or forward requests to an already established page with a long, complicated address.

Return to your domain name registrar and tell it what nameservers are authoritative for your domain.

After you have completed the preceding tasks, it takes about three days for the information to propagate around the Internet.

Providing DNS for a Real Domain with BIND

BIND is the de facto standard DNS software suite for UNIX. It contains a nameserver daemon ( named) that answers DNS queries, a resolver library that enables programs to make such queries, and some utility programs. BIND is maintained by the ISC (Internet Software Consortium) at the websitehttp://www.isc.org/bind/.

Three major versions of BIND are in common use today: 4, 8, and 9. The use of BIND 4 is now strongly discouraged because of numerous security vulnerabilities and other bugs, and is not discussed here. BIND 8, with many new features and bug fixes, is now quite widely deployed. It is actively maintained, but still vulnerable to a variety of attacks; its use is strongly discouraged, too. Fedora now provides BIND 9.

NOTE

If you are upgrading from BIND 8 to BIND 9, make sure to read the file /usr/share/doc/bind-9.5.0/misc/migrationfor any issues regarding configuration files (which will cause BIND not to run) and use of existing shell scripts. An HTML version of the BIND 9 manual is the Bv9ARM.htmlfile under the /usr/share/doc/bind-9.5.0/armdirectory.

In this chapter, we discuss the use of BIND 9, which ships with Fedora. BIND 9 was rewritten from scratch in an attempt to make the code more robust and leave behind the problems inherent in the old code. It is compliant with new DNS standards and represents a substantial improvement in features, performance, and security.

The bindRPM package contains the nameddaemon and a wealth of BIND documentation. The bind-utilsRPM package contains, among other things, the invaluable dig(1)utility. If you choose to compile BIND yourself, you can download the source distribution from the ISC's website and follow the build instructions therein.

NOTE

You can find build instructions in the Read Me file under the /usr/share/doc/bind-9.5.0directory, too.

After you install the RPMs, the following directories are of special interest because they contain the file used by BIND and contain the information shown in the listing:

----------

/etc/ The rndc.conf, named.conf configuration files.

/usr/bin/ dig, host, nslookup, nsupdate.

/usr/sbin/ named, rndc, and various support programs.

/usr/share/doc/bind-9.5.0/ BIND documentation.

/usr/share/man/ Manual pages.

/var/named/* Zone files.

----------

If you install from source, the files will be in the locations you specified at configure time, with the default directories under /usr/local/.

The following example uses BIND to configure a nameserver and then expand it as necessary to provide useful DNS service. To accomplish this, you must configure named(the nameserverdaemon) and rndccomponents (a control utility that permits various interactions with a running instance of named). You also might need to configure the resolver software, as discussed later. Three configuration files are used:

rndc.keyto specify the key used to authenticate between rndcand named

rndc.confto configure rndc

named.confto configure named

When rndccommunicates with named, it uses cryptographic keys to digitally sign commands before sending them over the network to named. The configuration file, /etc/rndc.key, specifies the key used for the authentication.

The only authentication mechanism currently supported by namedis the use of a secret key, encrypted with the HMAC-MD5 algorithm and shared between rndcand named.The easiest way to generate a key is to use the dnssec-keygenutility. In the following example, the utility is asked to generate a 128-bit HMAC-MD5 user key named rndc:

Читать дальше
Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

Похожие книги на «Fedora™ Unleashed, 2008 edition»

Представляем Вашему вниманию похожие книги на «Fedora™ Unleashed, 2008 edition» списком для выбора. Мы отобрали схожую по названию и смыслу литературу в надежде предоставить читателям больше вариантов отыскать новые, интересные, ещё непрочитанные произведения.


Отзывы о книге «Fedora™ Unleashed, 2008 edition»

Обсуждение, отзывы о книге «Fedora™ Unleashed, 2008 edition» и просто собственные мнения читателей. Оставьте ваши комментарии, напишите, что Вы думаете о произведении, его смысле или главных героях. Укажите что конкретно понравилось, а что нет, и почему Вы так считаете.

x