Configuring BIND: Session 9261 SHARE 102 Long Beach, CA
Configuring BIND: Session 9261 SHARE 102 Long Beach, CA
Configuring BIND: Session 9261 SHARE 102 Long Beach, CA
Session 9261
SHARE 102
Long Beach, CA
Abstract
If the Domain Name Server is the glue which
holds the internet together, then the
Berkeley Internet Name Domain (BIND)
server is the brand of glue used by the
majority of its users. Join us and find out
how to configure your BIND server. We'll
look into the types of records, and when to
use them as well as a quick look into
DNSSEC.
The Speaker
Harold Pritchett
Patricia Egen Consulting
(706) 546-0692
[email protected]
Disclaimer
Everybody has lawyers:
The ideas and concepts set forth in this
presentation are solely those of the respective
authors, and not of the companies and or
vendors referenced within and these
organizations do not endorse, guarantee, or
otherwise certify any such ideas or concepts in
application or usage. This material should be
verified for applicability and correctness in each
user environment. No warranty of any kind
available.
Presentation Protocol
Ask Questions for Understanding
For clarification on the current topic:
STICK YOUR HAND UP NOW -
Save Questions on related issues
Hold for Q&A at end of session
The only dumb question is:
the one you didn't ask
BIND
! Berkeley Internet Name Domain (BIND)
software. BIND is a client/server software
system. The Client side of BIND is called the
resolver. It generates the queries for
domain name information that are sent to
the server. The DNS server software
answers the resolver’s queries. The server
side of BIND is a daemon.
!It is called ‘named’ (pronounced “name” “d”)
History of BIND
!The architect of the Domain Name System
was Paul Mockapetris of USC’s Information
Sciences Institute in 1983.
!Paul then proceeded to write the first
implementation of this architecture which he
called “jeeves”
!Jeeves was implemented in July, 1984 on a
DEC PDP-10 running TOPS-20
!Jeeves would continue to run as the “root”
name servers until approximately 1988
History of BIND (Cont.)
!BIND was written at the University of
California at Berkeley for the 4.3 BSD Unix
operating system.
!BIND version 4 was released in April, 1985
!Versions of BIND through 4.8.3 were
maintained by Berkeley
!Versions 4.9 and 4.9.1 were released by
Digital Equipment Company. Paul Vixie, a
Digital employee became BIND’s maintainer
History of BIND (Cont.)
!BIND 4.9.2 was released by Vixie
Enterprises. Paul Vixie became BIND’s
principal architect/programmer
!BIND 4.9.3 and all later releases were
developed and maintained by the Internet
Software Consortium (www.isc.org). Paul
Vixie remained as the BIND guru.
!BIND was feature frozen at version 4.9.5 in
1995. Only Security and Bug fixes released
History of BIND (Cont.)
!BIND 8 – Initially released in May, 1997
!BIND 8 was a major rewrite of the BIND 4
code, but shared the same code base.
!BIND 8 had a new configuration file,
named.conf
!BIND 8 added an impresive list of new
features to BIND
New Features in BIND 8.1
! DNS Dynamic Updates (RFC 2136)
! DNS Change Notification (RFC 1996)
! Completely new configuration syntax
! Flexible, categorized logging system
! IP-address-based access control for queries, zone
transfers, and updates that may be specified on a zone-by-
zone basis
! More efficient zone transfers
! Improved performance for servers with thousands of zones
! The server no longer forks for outbound zone transfers
! Many bug fixes
History of BIND (Cont.)
! BIND 9 - Initially released in September,
2000
!A complete, from scratch, rewrite of the
BIND program
!Why?
!One reason was to “clean up” the BIND
code.
!Paul Vixie was busy maintaining BIND 8
and took no part in the creation of BIND 9.
Some Features of BIND Version 9
! DNS Security
! DNSSEC (signed zones)
! TSIG (signed DNS requests)
! IP version 6
! Answers DNS queries on IPv6 sockets
! IPv6 resource records (A6, DNAME, etc.)
! Bitstring Labels
! Experimental IPv6 Resolver Library
! DNS Protocol Enhancements
! IXFR, DDNS, Notify, EDNS0
! Improved standards conformance
! Views
! One server process can provide multiple "views" of the DNS namespace,
e.g. an "inside" view to certain clients, and an "outside" view to others.
! Multiprocessor Support
! Improved Portability Architecture
Disclaimer found in BIND 4 release
The official version of ISC BIND is now
9.1.0, or failing that, 8.2.3.
This is ISC BIND 4.9.11, hoped to be the
last of 4.*, which we are releasing since it
has an important security bug fixed. Other
less important security bugs in BIND4
remain *unfixed*. You should not be
running it. You have been warned.
Network access to BIND
Lame Server
halshome.net. IN NS ns1.granitecanyon.com.
halshome.net. IN NS ns2.granitecanyon.com.
A records
! An address (type “A”) record specifies an IP
address of a host
! More generally, it specifies the IP address of a domain
name
! The owner is the domain name of the host
! The RDATA is the dotted-octet format of a single
IP address
! Multihomed hosts and routers can have multiple
A records, one for each network interface
www.halshome.net. IN A 192.168.1.3
PTR records
! A PTR or “Pointer Record” is the “reverse lookup”
record for a host
! The owner field of the record contains the IP
address of the host in reverse order with the
domain name “in-addr.arpa” appended to it
! The RDATA of the record is the fully qualified
Domain Name (FQDN) of the host
halshome.net. in mx 0 mail1.halshome.net.
halshome.net. in mx 1 mail2.halshome.net.
TXT records
!Text (TXT) records contain data which is
associated with the name in the owner
field.
!The RDATA field consists of multiple
strings, enclosed in quotes (“)
dawg IN RP harold.dawg.halshome.net hp
hp IN TXT “Harold Pritchett – 706-546-0692”
HINFO and WKS records
!These records were created to provide
information which previously occurred in
the old arpanet HOSTS.TXT file. They are
rarely used today.
!Most people don’t want to provide details
about the hardware and software they are
running
Zone file conventions
!The domain specified in the zone files is
known as the origin
!It is initially set to the value from the zone
statement in named.conf
!It can be represented by the @ symbol
!Origin will be appended to all hostnames
that do not end with a dot
Zone file conventions
!Comments in zone files start with a semi-
colon and end at the end of line
!The parentheses “()” are used to group
data that crosses a line boundary. In
effect, line terminations are not recognized
within parentheses.
Zone name
! In configuration file “named.conf”:
zone “halshome.net" in {
type master;
file “halshome.db”; };
NS localhost.
A 127.0.0.1
localhost.rev file
$ORIGIN 0.0.127.in-addr.arpa.
$TTL 86400
@ IN SOA localhost. root.localhost. (
1 ; serial
30m ; refresh
15m ; retry
1d ; expire
20m) ; negative cache ttl
NS localhost.
1 PTR localhost.
halshome file
$TTL 86400
@ IN SOA mickey harold.mickey (
2004022201 ; serial
1800 ; refresh
900 ; retry
69120 ; expire
1080) ; negative cache ttl
NS ns1.granitecanyon.com.
NS ns2.granitecanyon.com.
A 192.168.1.1
rottweiler A 192.168.1.1
mickey A 192.168.1.3
stitch A 192.168.1.6
jr A 192.168.1.11
Halshome.rev file
$TTL 86400
@ IN SOA mickey.halshome.net. harold.mickey.halshome.net. (
2004022201 ; serial
1800 ; refresh
900 ; retry
69120 ; expire
1080) ; negative cache ttl
1 ptr rottweiler.halshome.net.
3 ptr mickey.halshome.net.
6 ptr stitch.halshome.net.
11 ptr jr.halshome.net.
Configuring your Name Server
Configuring DNS Name Service
!Configuring the BIND resolver
www.oreilly.com
Other References
Internet Security Consortium
www.isc.org
Internet RFC Archives
www.faqs.org/rfcs
ICANN Home Page
www.icann.org
DNS Resource Directory
www.dns.net/dnsrd
Other References
!Lots of others
!Some free
!Some not
Session 9261
Th-th-th-that’s all folks
Questions?