BIND9 / DNS Zone / Dedicated Server / Unique Reverse DNS
Posted
by
user2832131
on Server Fault
See other posts from Server Fault
or by user2832131
Published on 2013-11-02T18:40:08Z
Indexed on
2013/11/02
21:59 UTC
Read the original article
Hit count: 864
I locate a dedicated server in a datacenter with no DNS Zone setup. Datacenter panel have 1 textfield only you can fill one Reverse DNS only. According with datacenter instructions here... [instructions]: http://www.wiki.hetzner.de/index.php/DNS-Reverse-DNS/en#How_can_I_assign_several_names_to_my_IP_address.2C_if_different_domains_are_hosted_on_my_server.3F How_can_I_assign_several_names_to_my_IP_address
...I need to install BIND9 in order to configure other records like CNAME and MX.
Ok, I've installed BIND9, created a Master Zone. And following this example, I put it in the Zone File: [example]: http://wiki.hetzner.de/index.php/DNS_Zonendatei/en example
$ttl 86400
@ IN SOA ns1.first-ns.de. postmaster.robot.first-ns.de. (
1383411730
14400
1800
604800
86400 )
@ IN NS ns1.first-ns.de.
@ IN NS robotns2.second-ns.de.
@ IN NS robotns3.second-ns.com.
localhost IN A 127.0.0.1
@ IN A 144.86.786.651
www IN A 144.86.786.651
loopback IN CNAME localhost
But when I point my domain to ns1.first-ns.de, DNS Register says "time out". Am I missing something?
I created a Master zone. Should it be a Slave zone?
named.conf:
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
named.conf.options:
options {
directory "/var/cache/bind";
dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
named.conf.local:
zone "mydomain.com" {
type master;
file "/var/lib/bind/mydomain.com.hosts";
allow-update {any;};
allow-transfer {any;};
allow-query {any;};
};
named.conf.default-zones:
zone "." {
type hint;
file "/etc/bind/db.root";
};
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
Problem is that I'm moving my site, and can't update the new NS server due to a 'timeout' message when filling new datacenter NS. I'm filling:
MASTER: ns1.first-ns.de
SLAVE1: robotns2.second-ns.de
SLAVE2: robotns3.second-ns.com
© Server Fault or respective owner