spiderwhe.blogg.se

Configure forward and reverse lookup zones ubuntu 16.04
Configure forward and reverse lookup zones ubuntu 16.04









xxxx:xxxx:xx:xxx:x:x:x:xxx : by the IPv6 address of your server (if applicable, otherwise delete this line) xx.xx.xx.xx : by the IPv4 address of your server Note : This file is empty because it will be created. Now that the basic setup is configured, we will create a file for each zone declared above. This improves the performance of your server. Thus, a part of DNS queries go to the secondary DNS server of OVH and the other will go to your server. This synchronizes your DNS configuration on their secondary DNS server. With OVH, this address is in your OVH Manager. If your Linux server is a VPS (virtual machine that you rent on the Internet), you can add the IP address of a secondary DNS server.It's in this file that you set up the SOA, the serial, records (A, AAAA, CNAME, MX. file "/etc/bind/db." : indicates the path of the file that will contain the details of your zone configuration.

configure forward and reverse lookup zones ubuntu 16.04

Without going into details, we configure the zone on a master DNS server and we can duplicate this zone on secondary DNS servers to distribute the network load (of DNS queries) on different servers. type master : indicates that your DNS server is the master server for this zone.This configuration is the minimum needed, for that zone to be declared on your DNS server. allow-transfer // Secondary DNS server of the hoster In our case, our domain is : įile "/etc/bind/db." Then, edit the "/etc/bind/" file to declare the zones to manage on this DNS server. Creating forward lookup zones (domain -> IP) Note : If the line "listen-on" doesn't exist, add it after the "listen-on-v6" line.Ģ. To do this, edit the file "/etc/bind/" like this : That allows us to send requests to the DNS server from anywhere : the server itself, the local network where the server is located and Internet). It depends, if the DNS server has been checked during the installation of the Linux distribution or not.įirst, we will configure the DNS server to "listen" on all IP addresses.

configure forward and reverse lookup zones ubuntu 16.04

Note : It's possible that this server is already installed by default.

  • Tip : Force the update of the OVH secondary DNS server.
  • Configuring the secondary DNS server for your domain.
  • Create reverse lookup zones (IP -> domain).
  • Creating forward lookup zones (domain -> IP).
  • configure forward and reverse lookup zones ubuntu 16.04

    Tutorial tested on Ubuntu 12.04 and Debian 7.7.0. That said, this requires to understand how DNS works (What is the purpose of DNS servers, why there are different types of records. So, you can manage subdomains of your domain without a middleman. When you buy a VPS server, or create an intranet with multiple servers, it's interesting to create a DNS server on your VPS or on your local network.











    Configure forward and reverse lookup zones ubuntu 16.04