Linux04 dns 2

50 %
50 %
Information about Linux04 dns 2
Education

Published on March 5, 2014

Author: jainulmusani

Source: slideshare.net

Description

Linux DNS Server -2

1 17-FEB-2014 – Monday Topic: Domain Name Server (Overview, Configuration) 1

2 Domain Name Server Overview Overview The DNS configuration files are stored in the /etc/bind directory. The primary configuration file is /etc/bind/named.conf. 2

3 Domain Name Server Overview The include line specifies the filename which contains the DNS options. The directory line in the /etc/bind/named.conf.options file tells DNS where to look for files. 3

4 Domain Name Server Overview All files BIND uses will be relative to this directory. The file named /etc/bind/db.root describes the root nameservers in the world. 4

5 Domain Name Server Overview The servers change over time, so the /etc/bind/db.rootfile must be maintained now and then. This is usually done as updates to the bind9 package. 5

Domain Name Server Overview 6 The zone section defines a master server, and it is stored in a file mentioned in the file option. It is possible to configure the same server to be a caching name server, primary master, and secondary master. 6

7 Domain Name Server Overview A server can be the Start of Authority (SOA) for one zone, while providing secondary service for another zone. All the while providing caching services for hosts on the local LAN. 7

8 Domain Name Server Overview - Caching Nameserver The default configuration is setup to act as a caching server. All that is required is simply adding the IP Addresses of your ISP's DNS servers. 8

9 Domain Name Server Overview - Caching Nameserver Simply uncomment and edit the following in /etc/bind/named.conf.options: forwarders { 1.2.3.4; 5.6.7.8; }; Replace 1.2.3.4 and 5.6.7.8 with the IP Adresses of actual nameservers. 9

10 Domain Name Server Overview - Caching Nameserver Now restart the DNS server, to enable the new configuration. From a terminal prompt: $ sudo service bind9 restart 10

11 Domain Name Server Overview - Primary Master In this section BIND9 will be configured as the Primary Master for the domain example.com. Simply replace example.com with your FQDN (Fully Qualified Domain Name). 11

12 Domain Name Server Overview - Forward Zone File Now use an existing zone file as 12 a template to create the /etc/bind/db.example.com file: sudo cp /etc/bind/db.local /etc/bind/db.example.com zone "example.com" { type master; file "/etc/bind/db.example.com"; };

13 Domain Name Server Overview - Secondary Master Once a Primary Master has been configured a Secondary Master is needed in order to maintain the availability of the domain should the Primary become unavailable. 13

14 Domain Name Server Overview - Secondary Master First, on the Primary Master server, the zone transfer needs to be allowed. Add the allow-transfer option to the example Forward and Reverse zone definitions in /etc/bind/named.conf.local: 14

15 Domain Name Server Overview - Secondary Master 15 zone "example.com" { type master; file "/etc/bind/db.example.com"; allow-transfer{192.168.1.11;}; }; zone "1.168.192.in-addr.arpa" { type master; file "/etc/bind/db.192"; allow-transfer{192.168.1.11;}; };

16 Domain Name Server Overview - Secondary Master Replace 192.168.1.11 with the IP Address of your Secondary nameserver. Restart BIND9 on the Primary Master: $ sudo service bind9 restart 16

Add a comment

Related presentations

Related pages

www.Baeriswil.ch - Gemeinde Bäriswil

Mittels des Apache/2 Web-Servers wird ... ch sind ihre DNS Nameserver. IP: 194.56.218.244. Web Server: Apache/2. Charset: iso-8859-1. PING linux04.talus.ch ...
Read more

www.Freihof-destillerie.de - INDEX

Sie hat 2 DNS-Einträge: ns8.ideefix.at, und ns2.ideefix.eu. IP: 85.125.82.20. ... 64 bytes from linux04.xlab.cc (85.125.82.20): icmp_seq=2 ttl=51 : 140 ms:
Read more

Suche Tool um IP-Adressen zu ändern | wer-weiss-was.de

... so dass man die DNS ... neueste Antwort vom 17.08.2004, 14:46 Uhr | 2 Antworten ... schau dir doch mal http://linux04.wekanet ...
Read more

IP-Minifassung Teil 2

DNS reverse DNS www.sun.com ping ... R. Hörmanseder KV Betriebssysteme: IPv4 Teil 2 12 hoe@linux04: > ping -c 2 140.78.100.255 PING 140.78.100.255 ...
Read more

alphotel.at - Alle Infos über alphotel.at sind auf ...

IP-Adresse 1: 85.125.82.20 Hostname: linux04.xlab.cc Nameserver 1: ns1.dns.speedkom.net Nameserver 2: ... 2: Nein: 1.817.807: 15-05-2012: 20 B: 0/5: 85.125 ...
Read more

DDNS the dyndns with problem - MikroTik RouterOS

DDNS the dyndns with problem. ... DDNS the dyndns with problem. Post by Linux04 » Thu Aug 27, ... http://wiki.mikrotik.com/wiki/Dynamic_DNS_Update_Script ...
Read more

KV Betriebssysteme: IP Minifassung

Switch -a: IP-Adresse (via reverse DNS) auf Host-namen auslösen R. Hörmanseder KV Betriebssysteme 12 hoe@linux04: > ping -c 2 140.78.100.255
Read more

news@UK

2. news@UK UKUUG ... http://www.ukuug.org/events/linux04/ ... Electronics, where he wrote a DNS management system and designed, built, and ran the DNS
Read more