At this stage we will need to create a new zone file for a domain In IP address of a DNS server in many cases is provided by your Internet provider.
Create and save db.with a following content: ; ; BIND data file for ; $TTL 3h @ IN SOA ns1. ( 1 ; Serial 3h ; Refresh after 3 hours 1h ; Retry after 1 hour 1w ; Expire after 1 week 1h ) ; Negative caching TTL of 1 day ; @ IN NS ns1. In our this case the IP address of our name server is 192.168.135.130.
The TZUpdater tool is provided to allow you to update installed Java Development Kit (JDK) and Java Runtime Environment (JRE) software with more recent timezone data, to accommodate daylight saving time (DST) changes in different countries.
Oracle relies on the timezone data publicly available through IANA's Time Zone Database.
before you proceed with the installation and configuration of bind nameserver make sure that bind DNS server is exactly what you want.
Default setup and execution of bind on Debian or Ubuntu may take around 200MB of RAM with no zones added to the config file.
Unless you reduce the memory usage of a bind via various bind "options" config settings, be prepared to have some spare RAM available just for this service.This fact is even more important if you pay for your own VPS server.Another DNS nameservers available on a Linux systems are NSD ( Name Server Daemon) or djbdns ( tinydns ).Both are lightweight alternatives to bind9 DNS server and have less RAM requirements. In this article we will not go into details of what Domain Name Service ( DNS ) is nor how DNS works.Rather we simply concentrate in a simple configuration of a custom zone and config file for a given domain / host supporting www, mail services. Last thing before we go ahead to check a configuration is to add and IP address af a stable DNS server to a options file.Sample scenario notes to help you ready this DNS bind howto: dnsutils is not compulsory package to run bind webserver, but we will use a dig command which is part of this package as a testing tool of your bind configuration. This IP address is used in case that a local DNS server do not know the answer the a name resolution query.