12.07.2015 Views

download

download

download

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Network Services—Internet Servers};{};192.168.14.2;192.168.15.2;This configuration disables recursion. So if the request is not resolved using the localzone files, it will fail. Also a zone definition for the domain, example.com, is defined.This server acts as the "master" server for the domain. The zone file is located at/etc/namedb/master/example.com.db and the server allows two hosts (as definedunder the allow-transfer clause) to transfer the whole zone, which in a typical caseplays the slave server role.It is recommended that you store the zone files for the domains that are hosted asmaster under the master subdirectory, and use the slave directory if the host actsas slave server for the domain. In this example, the file example.com.db containsdefinitions for the example.com domain, and is stored under the master directory:$TTL 24h ;$ORIGIN example.com.;@ IN SOA ns1.example.com. noc.example.com. (2007102001 ; serial12h; refresh15m; update retry3w; expiry3h; minimum)IN NS ns1.example.com.IN NS ns2.example.com.IN A 192.168.25.1IN MX 10 mailftp IN CNAME example.com.www IN CNAME example.com.mail IN A 192.168.25.10ns1 IN A 192.168.25.1ns2 IN A 192.168.14.2portal IN A 192.168.25.7cvs IN A 192.168.25.9This zone file contains basic information about the domain example.com, includingTTL and other DNS related information, as well as host to IP mapping underthis zone.[ 218 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!